document.pyi 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. """Stub file for document.py"""
  2. # ------------------- DO NOT EDIT ----------------------
  3. # This file was generated by `scripts/pyi_generator.py`!
  4. # ------------------------------------------------------
  5. from typing import Union, overload, Optional
  6. from reflex.components.libs.chakra import ChakraComponent
  7. from reflex.components.component import Component
  8. from reflex.vars import Var, BaseVar, ComputedVar
  9. from reflex.event import EventChain
  10. class NextDocumentLib(Component):
  11. @overload
  12. @classmethod
  13. def create(cls, *children, **props) -> "NextDocumentLib": ... # type: ignore
  14. class Html(NextDocumentLib):
  15. @overload
  16. @classmethod
  17. def create(cls, *children, **props) -> "Html": ... # type: ignore
  18. class DocumentHead(NextDocumentLib):
  19. @overload
  20. @classmethod
  21. def create(cls, *children, **props) -> "DocumentHead": ... # type: ignore
  22. class Main(NextDocumentLib):
  23. @overload
  24. @classmethod
  25. def create(cls, *children, **props) -> "Main": ... # type: ignore
  26. class NextScript(NextDocumentLib):
  27. @overload
  28. @classmethod
  29. def create(cls, *children, **props) -> "NextScript": ... # type: ignore
  30. class ColorModeScript(ChakraComponent):
  31. @overload
  32. @classmethod
  33. def create(cls, *children, **props) -> "ColorModeScript": ... # type: ignore