def _get_imports(self) -> ParsedImportDict:
        """Get the imports for the component.

        Returns:
            The imports for dynamically importing the component at module load time.
        """
        # Next.js dynamic import mechanism.
        dynamic_import = {"next/dynamic": [ImportVar(tag="dynamic", is_default=True)]}

        # The normal imports for this component.
        _imports = super()._get_imports()

        # Do NOT import the main library/tag statically.
        import_name = self._get_import_name()
        if import_name is not None:
            with contextlib.suppress(ValueError):
                _imports[import_name].remove(self.import_var)
            _imports[import_name].append(
                imports.ImportVar(
                    tag=None,
                    render=False,
                    transpile=self._should_transpile(self.library),
                )
            )

        return imports.merge_imports(
            dynamic_import,
            _imports,
            self._get_dependencies_imports(),
        )
Get the imports for the component.

        Returns:
            The imports for dynamically importing the component at module load time.
        
reflex/components/component.py