def _find_props_in_list_annotation(field_type: Any) -> type | None:
    """Find Props subclass within a list type annotation.

    Args:
        field_type: The type annotation to check (e.g., list[SomeProps] or list[SomeProps] | None).

    Returns:
        The Props subclass if found in a list annotation, None otherwise.
    """
    origin = get_origin(field_type)
    if origin is list:
        args = get_args(field_type)
        if args:
            return _get_props_subclass(args[0])

    # Handle Union types - check if any union member is a list
    if is_union(field_type):
        for arg in get_args(field_type):
            if arg is not type(None):  # Skip None from Optional
                list_element = _find_props_in_list_annotation(arg)
                if list_element is not None:
                    return list_element

    return None
Find Props subclass within a list type annotation.

    Args:
        field_type: The type annotation to check (e.g., list[SomeProps] or list[SomeProps] | None).

    Returns:
        The Props subclass if found in a list annotation, None otherwise.
    
reflex/components/props.py