app_wrap.pyi 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  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, Optional, overload
  6. from reflex.components.base.fragment import Fragment
  7. from reflex.event import EventType
  8. from reflex.style import Style
  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: Style | None = None,
  17. key: Any | None = None,
  18. id: Any | None = None,
  19. class_name: Any | None = None,
  20. autofocus: bool | None = None,
  21. custom_attrs: dict[str, Var | Any] | None = None,
  22. on_blur: Optional[EventType[()]] = None,
  23. on_click: Optional[EventType[()]] = None,
  24. on_context_menu: Optional[EventType[()]] = None,
  25. on_double_click: Optional[EventType[()]] = None,
  26. on_focus: Optional[EventType[()]] = None,
  27. on_mount: Optional[EventType[()]] = None,
  28. on_mouse_down: Optional[EventType[()]] = None,
  29. on_mouse_enter: Optional[EventType[()]] = None,
  30. on_mouse_leave: Optional[EventType[()]] = None,
  31. on_mouse_move: Optional[EventType[()]] = None,
  32. on_mouse_out: Optional[EventType[()]] = None,
  33. on_mouse_over: Optional[EventType[()]] = None,
  34. on_mouse_up: Optional[EventType[()]] = None,
  35. on_scroll: Optional[EventType[()]] = None,
  36. on_unmount: Optional[EventType[()]] = None,
  37. **props,
  38. ) -> "AppWrap":
  39. """Create a new AppWrap component.
  40. Returns:
  41. A new AppWrap component containing {children}.
  42. """
  43. ...