__init__.py 638 B

123456789101112131415161718192021222324252627282930313233343536
  1. """Import all the components."""
  2. from __future__ import annotations
  3. from reflex.utils import lazy_loader
  4. _SUBMODULES: set[str] = {
  5. "lucide",
  6. "core",
  7. "datadisplay",
  8. "gridjs",
  9. "markdown",
  10. "moment",
  11. "plotly",
  12. "radix",
  13. "react_player",
  14. "sonner",
  15. "suneditor",
  16. "chakra",
  17. "el",
  18. "base",
  19. "recharts",
  20. }
  21. _SUBMOD_ATTRS: dict[str, list[str]] = {
  22. "component": [
  23. "Component",
  24. "NoSSRComponent",
  25. ],
  26. "next": ["NextLink", "next_link"],
  27. }
  28. __getattr__, __dir__, __all__ = lazy_loader.attach(
  29. __name__,
  30. submodules=_SUBMODULES,
  31. submod_attrs=_SUBMOD_ATTRS,
  32. )