def _get_all_imports(self) -> ParsedImportDict:
        """Get all the libraries and fields that are used by the component.

        Returns:
            The import dict with the required imports.
        """
Get all the libraries and fields that are used by the component.

        Returns:
            The import dict with the required imports.
        
reflex/components/component.py