def _get_components_in_props(self) -> Sequence[BaseComponent]:
        """Get the components in the props.

        Returns:
            The components in the props
        """
        if self._are_fields_known():
            return [
                component
                for name in self._get_component_prop_names()
                for component in _components_from(getattr(self, name))
            ]
        return [
            component
            for prop in self.get_props()
            if (value := getattr(self, prop)) is not None
            and isinstance(value, (BaseComponent, Var))
            for component in _components_from(value)
        ]
Get the components in the props.

        Returns:
            The components in the props
        
reflex/components/component.py