def __init__(self, **kwargs):
        """Initialize the custom component.

        Args:
            **kwargs: The kwargs to pass to the component.
        """
        super().__init__(
            children=kwargs.get("children", []),
        )
        console.deprecate(
            "component-direct-instantiation",
            reason="Use the `create` method instead.",
            deprecation_version="0.7.2",
            removal_version="0.8.0",
        )
        self._post_init(**kwargs)
Initialize the custom component.

        Args:
            **kwargs: The kwargs to pass to the component.
        
reflex/components/component.py