app_wrap.pyi 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. """Stub file for reflex/components/base/app_wrap.py"""
  2. # ------------------- DO NOT EDIT ----------------------
  3. # This file was generated by `reflex/utils/pyi_generator.py`!
  4. # ------------------------------------------------------
  5. from typing import Any, Mapping, Optional, Sequence, overload
  6. from reflex.components.base.fragment import Fragment
  7. from reflex.components.core.breakpoints import Breakpoints
  8. from reflex.event import EventType
  9. from reflex.vars.base import Var
  10. class AppWrap(Fragment):
  11. @overload
  12. @classmethod
  13. def create( # type: ignore
  14. cls,
  15. *children,
  16. style: Sequence[Mapping[str, Any]]
  17. | Mapping[str, Any]
  18. | Var[Mapping[str, Any]]
  19. | Breakpoints
  20. | None = None,
  21. key: Any | None = None,
  22. id: Any | None = None,
  23. class_name: Any | None = None,
  24. autofocus: bool | None = None,
  25. custom_attrs: dict[str, Var | Any] | None = None,
  26. on_blur: Optional[EventType[()]] = None,
  27. on_click: Optional[EventType[()]] = None,
  28. on_context_menu: Optional[EventType[()]] = None,
  29. on_double_click: Optional[EventType[()]] = None,
  30. on_focus: Optional[EventType[()]] = None,
  31. on_mount: Optional[EventType[()]] = None,
  32. on_mouse_down: Optional[EventType[()]] = None,
  33. on_mouse_enter: Optional[EventType[()]] = None,
  34. on_mouse_leave: Optional[EventType[()]] = None,
  35. on_mouse_move: Optional[EventType[()]] = None,
  36. on_mouse_out: Optional[EventType[()]] = None,
  37. on_mouse_over: Optional[EventType[()]] = None,
  38. on_mouse_up: Optional[EventType[()]] = None,
  39. on_scroll: Optional[EventType[()]] = None,
  40. on_unmount: Optional[EventType[()]] = None,
  41. **props,
  42. ) -> "AppWrap":
  43. """Create a new AppWrap component.
  44. Returns:
  45. A new AppWrap component containing {children}.
  46. """
  47. ...