def _get_component_prop_names(cls) -> set[str]:
        """Get the names of the component props. NOTE: This assumes all fields are known.

        Returns:
            The names of the component props.
        """
        return {
            name
            for name in cls.get_fields()
            if name in cls.get_props()
            and types._issubclass(
                types.value_inside_optional(types.get_field_type(cls, name)), Component
            )
        }
Get the names of the component props. NOTE: This assumes all fields are known.

        Returns:
            The names of the component props.
        
reflex/components/component.py