alertdialog.pyi 24 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634
  1. """Stub file for reflex/components/chakra/overlay/alertdialog.py"""
  2. # ------------------- DO NOT EDIT ----------------------
  3. # This file was generated by `scripts/pyi_generator.py`!
  4. # ------------------------------------------------------
  5. from typing import Any, Dict, Literal, Optional, Union, overload
  6. from reflex.vars import Var, BaseVar, ComputedVar
  7. from reflex.event import EventChain, EventHandler, EventSpec
  8. from reflex.style import Style
  9. from typing import Any, Union
  10. from reflex.components.chakra import ChakraComponent, LiteralAlertDialogSize
  11. from reflex.components.chakra.media.icon import Icon
  12. from reflex.components.component import Component
  13. from reflex.vars import Var
  14. class AlertDialog(ChakraComponent):
  15. def get_event_triggers(self) -> dict[str, Union[Var, Any]]: ...
  16. @overload
  17. @classmethod
  18. def create( # type: ignore
  19. cls,
  20. *children,
  21. header=None,
  22. body=None,
  23. footer=None,
  24. close_button=None,
  25. is_open: Optional[Union[Var[bool], bool]] = None,
  26. least_destructive_ref: Optional[Union[Var[str], str]] = None,
  27. allow_pinch_zoom: Optional[Union[Var[bool], bool]] = None,
  28. auto_focus: Optional[Union[Var[bool], bool]] = None,
  29. block_scroll_on_mount: Optional[Union[Var[bool], bool]] = None,
  30. close_on_esc: Optional[Union[Var[bool], bool]] = None,
  31. close_on_overlay_click: Optional[Union[Var[bool], bool]] = None,
  32. is_centered: Optional[Union[Var[bool], bool]] = None,
  33. lock_focus_across_frames: Optional[Union[Var[bool], bool]] = None,
  34. preserve_scroll_bar_gap: Optional[Union[Var[bool], bool]] = None,
  35. return_focus_on_close: Optional[Union[Var[bool], bool]] = None,
  36. size: Optional[
  37. Union[
  38. Var[
  39. Literal[
  40. "sm",
  41. "md",
  42. "lg",
  43. "xs",
  44. "2xl",
  45. "full",
  46. "3xl",
  47. "4xl",
  48. "5xl",
  49. "6xl",
  50. ]
  51. ],
  52. Literal[
  53. "sm", "md", "lg", "xs", "2xl", "full", "3xl", "4xl", "5xl", "6xl"
  54. ],
  55. ]
  56. ] = None,
  57. use_inert: Optional[Union[Var[bool], bool]] = None,
  58. style: Optional[Style] = None,
  59. key: Optional[Any] = None,
  60. id: Optional[Any] = None,
  61. class_name: Optional[Any] = None,
  62. autofocus: Optional[bool] = None,
  63. custom_attrs: Optional[Dict[str, Union[Var, str]]] = None,
  64. on_blur: Optional[
  65. Union[EventHandler, EventSpec, list, function, BaseVar]
  66. ] = None,
  67. on_click: Optional[
  68. Union[EventHandler, EventSpec, list, function, BaseVar]
  69. ] = None,
  70. on_close: Optional[
  71. Union[EventHandler, EventSpec, list, function, BaseVar]
  72. ] = None,
  73. on_close_complete: Optional[
  74. Union[EventHandler, EventSpec, list, function, BaseVar]
  75. ] = None,
  76. on_context_menu: Optional[
  77. Union[EventHandler, EventSpec, list, function, BaseVar]
  78. ] = None,
  79. on_double_click: Optional[
  80. Union[EventHandler, EventSpec, list, function, BaseVar]
  81. ] = None,
  82. on_esc: Optional[
  83. Union[EventHandler, EventSpec, list, function, BaseVar]
  84. ] = None,
  85. on_focus: Optional[
  86. Union[EventHandler, EventSpec, list, function, BaseVar]
  87. ] = None,
  88. on_mount: Optional[
  89. Union[EventHandler, EventSpec, list, function, BaseVar]
  90. ] = None,
  91. on_mouse_down: Optional[
  92. Union[EventHandler, EventSpec, list, function, BaseVar]
  93. ] = None,
  94. on_mouse_enter: Optional[
  95. Union[EventHandler, EventSpec, list, function, BaseVar]
  96. ] = None,
  97. on_mouse_leave: Optional[
  98. Union[EventHandler, EventSpec, list, function, BaseVar]
  99. ] = None,
  100. on_mouse_move: Optional[
  101. Union[EventHandler, EventSpec, list, function, BaseVar]
  102. ] = None,
  103. on_mouse_out: Optional[
  104. Union[EventHandler, EventSpec, list, function, BaseVar]
  105. ] = None,
  106. on_mouse_over: Optional[
  107. Union[EventHandler, EventSpec, list, function, BaseVar]
  108. ] = None,
  109. on_mouse_up: Optional[
  110. Union[EventHandler, EventSpec, list, function, BaseVar]
  111. ] = None,
  112. on_overlay_click: Optional[
  113. Union[EventHandler, EventSpec, list, function, BaseVar]
  114. ] = None,
  115. on_scroll: Optional[
  116. Union[EventHandler, EventSpec, list, function, BaseVar]
  117. ] = None,
  118. on_unmount: Optional[
  119. Union[EventHandler, EventSpec, list, function, BaseVar]
  120. ] = None,
  121. **props
  122. ) -> "AlertDialog":
  123. """Create an alert dialog component.
  124. Args:
  125. *children: The children of the alert dialog component.
  126. header: The header of the alert dialog.
  127. body: The body of the alert dialog.
  128. footer: The footer of the alert dialog.
  129. close_button: The close button of the alert dialog.
  130. is_open: If true, the modal will be open.
  131. least_destructive_ref: The least destructive element to focus when the dialog opens.
  132. allow_pinch_zoom: Handle zoom/pinch gestures on iOS devices when scroll locking is enabled. Defaults to false.
  133. auto_focus: If true, the modal will autofocus the first enabled and interactive element within the ModalContent
  134. block_scroll_on_mount: If true, scrolling will be disabled on the body when the modal opens.
  135. close_on_esc: If true, the modal will close when the Esc key is pressed
  136. close_on_overlay_click: If true, the modal will close when the overlay is clicked
  137. is_centered: If true, the modal will be centered on screen.
  138. lock_focus_across_frames: Enables aggressive focus capturing within iframes. If true, keep focus in the lock, no matter where lock is active. If false, allows focus to move outside of iframe.
  139. preserve_scroll_bar_gap: If true, a `padding-right` will be applied to the body element that's equal to the width of the scrollbar. This can help prevent some unpleasant flickering effect and content adjustment when the modal opens
  140. return_focus_on_close: If true, the modal will return focus to the element that triggered it when it closes.
  141. size: "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | "3xl" | "4xl" | "5xl" | "6xl" | "full"
  142. use_inert: If true, the siblings of the modal will have `aria-hidden` set to true so that screen readers can only see the modal. This is commonly known as making the other elements **inert**
  143. style: The style of the component.
  144. key: A unique key for the component.
  145. id: The id for the component.
  146. class_name: The class name for the component.
  147. autofocus: Whether the component should take the focus once the page is loaded
  148. custom_attrs: custom attribute
  149. **props: The properties of the alert dialog component.
  150. Raises:
  151. AttributeError: if there is a conflict between the props used.
  152. Returns:
  153. The alert dialog component.
  154. """
  155. ...
  156. class AlertDialogBody(ChakraComponent):
  157. @overload
  158. @classmethod
  159. def create( # type: ignore
  160. cls,
  161. *children,
  162. style: Optional[Style] = None,
  163. key: Optional[Any] = None,
  164. id: Optional[Any] = None,
  165. class_name: Optional[Any] = None,
  166. autofocus: Optional[bool] = None,
  167. custom_attrs: Optional[Dict[str, Union[Var, str]]] = None,
  168. on_blur: Optional[
  169. Union[EventHandler, EventSpec, list, function, BaseVar]
  170. ] = None,
  171. on_click: Optional[
  172. Union[EventHandler, EventSpec, list, function, BaseVar]
  173. ] = None,
  174. on_context_menu: Optional[
  175. Union[EventHandler, EventSpec, list, function, BaseVar]
  176. ] = None,
  177. on_double_click: Optional[
  178. Union[EventHandler, EventSpec, list, function, BaseVar]
  179. ] = None,
  180. on_focus: Optional[
  181. Union[EventHandler, EventSpec, list, function, BaseVar]
  182. ] = None,
  183. on_mount: Optional[
  184. Union[EventHandler, EventSpec, list, function, BaseVar]
  185. ] = None,
  186. on_mouse_down: Optional[
  187. Union[EventHandler, EventSpec, list, function, BaseVar]
  188. ] = None,
  189. on_mouse_enter: Optional[
  190. Union[EventHandler, EventSpec, list, function, BaseVar]
  191. ] = None,
  192. on_mouse_leave: Optional[
  193. Union[EventHandler, EventSpec, list, function, BaseVar]
  194. ] = None,
  195. on_mouse_move: Optional[
  196. Union[EventHandler, EventSpec, list, function, BaseVar]
  197. ] = None,
  198. on_mouse_out: Optional[
  199. Union[EventHandler, EventSpec, list, function, BaseVar]
  200. ] = None,
  201. on_mouse_over: Optional[
  202. Union[EventHandler, EventSpec, list, function, BaseVar]
  203. ] = None,
  204. on_mouse_up: Optional[
  205. Union[EventHandler, EventSpec, list, function, BaseVar]
  206. ] = None,
  207. on_scroll: Optional[
  208. Union[EventHandler, EventSpec, list, function, BaseVar]
  209. ] = None,
  210. on_unmount: Optional[
  211. Union[EventHandler, EventSpec, list, function, BaseVar]
  212. ] = None,
  213. **props
  214. ) -> "AlertDialogBody":
  215. """Create the component.
  216. Args:
  217. *children: The children of the component.
  218. style: The style of the component.
  219. key: A unique key for the component.
  220. id: The id for the component.
  221. class_name: The class name for the component.
  222. autofocus: Whether the component should take the focus once the page is loaded
  223. custom_attrs: custom attribute
  224. **props: The props of the component.
  225. Returns:
  226. The component.
  227. Raises:
  228. TypeError: If an invalid child is passed.
  229. """
  230. ...
  231. class AlertDialogHeader(ChakraComponent):
  232. @overload
  233. @classmethod
  234. def create( # type: ignore
  235. cls,
  236. *children,
  237. style: Optional[Style] = None,
  238. key: Optional[Any] = None,
  239. id: Optional[Any] = None,
  240. class_name: Optional[Any] = None,
  241. autofocus: Optional[bool] = None,
  242. custom_attrs: Optional[Dict[str, Union[Var, str]]] = None,
  243. on_blur: Optional[
  244. Union[EventHandler, EventSpec, list, function, BaseVar]
  245. ] = None,
  246. on_click: Optional[
  247. Union[EventHandler, EventSpec, list, function, BaseVar]
  248. ] = None,
  249. on_context_menu: Optional[
  250. Union[EventHandler, EventSpec, list, function, BaseVar]
  251. ] = None,
  252. on_double_click: Optional[
  253. Union[EventHandler, EventSpec, list, function, BaseVar]
  254. ] = None,
  255. on_focus: Optional[
  256. Union[EventHandler, EventSpec, list, function, BaseVar]
  257. ] = None,
  258. on_mount: Optional[
  259. Union[EventHandler, EventSpec, list, function, BaseVar]
  260. ] = None,
  261. on_mouse_down: Optional[
  262. Union[EventHandler, EventSpec, list, function, BaseVar]
  263. ] = None,
  264. on_mouse_enter: Optional[
  265. Union[EventHandler, EventSpec, list, function, BaseVar]
  266. ] = None,
  267. on_mouse_leave: Optional[
  268. Union[EventHandler, EventSpec, list, function, BaseVar]
  269. ] = None,
  270. on_mouse_move: Optional[
  271. Union[EventHandler, EventSpec, list, function, BaseVar]
  272. ] = None,
  273. on_mouse_out: Optional[
  274. Union[EventHandler, EventSpec, list, function, BaseVar]
  275. ] = None,
  276. on_mouse_over: Optional[
  277. Union[EventHandler, EventSpec, list, function, BaseVar]
  278. ] = None,
  279. on_mouse_up: Optional[
  280. Union[EventHandler, EventSpec, list, function, BaseVar]
  281. ] = None,
  282. on_scroll: Optional[
  283. Union[EventHandler, EventSpec, list, function, BaseVar]
  284. ] = None,
  285. on_unmount: Optional[
  286. Union[EventHandler, EventSpec, list, function, BaseVar]
  287. ] = None,
  288. **props
  289. ) -> "AlertDialogHeader":
  290. """Create the component.
  291. Args:
  292. *children: The children of the component.
  293. style: The style of the component.
  294. key: A unique key for the component.
  295. id: The id for the component.
  296. class_name: The class name for the component.
  297. autofocus: Whether the component should take the focus once the page is loaded
  298. custom_attrs: custom attribute
  299. **props: The props of the component.
  300. Returns:
  301. The component.
  302. Raises:
  303. TypeError: If an invalid child is passed.
  304. """
  305. ...
  306. class AlertDialogFooter(ChakraComponent):
  307. @overload
  308. @classmethod
  309. def create( # type: ignore
  310. cls,
  311. *children,
  312. style: Optional[Style] = None,
  313. key: Optional[Any] = None,
  314. id: Optional[Any] = None,
  315. class_name: Optional[Any] = None,
  316. autofocus: Optional[bool] = None,
  317. custom_attrs: Optional[Dict[str, Union[Var, str]]] = None,
  318. on_blur: Optional[
  319. Union[EventHandler, EventSpec, list, function, BaseVar]
  320. ] = None,
  321. on_click: Optional[
  322. Union[EventHandler, EventSpec, list, function, BaseVar]
  323. ] = None,
  324. on_context_menu: Optional[
  325. Union[EventHandler, EventSpec, list, function, BaseVar]
  326. ] = None,
  327. on_double_click: Optional[
  328. Union[EventHandler, EventSpec, list, function, BaseVar]
  329. ] = None,
  330. on_focus: Optional[
  331. Union[EventHandler, EventSpec, list, function, BaseVar]
  332. ] = None,
  333. on_mount: Optional[
  334. Union[EventHandler, EventSpec, list, function, BaseVar]
  335. ] = None,
  336. on_mouse_down: Optional[
  337. Union[EventHandler, EventSpec, list, function, BaseVar]
  338. ] = None,
  339. on_mouse_enter: Optional[
  340. Union[EventHandler, EventSpec, list, function, BaseVar]
  341. ] = None,
  342. on_mouse_leave: Optional[
  343. Union[EventHandler, EventSpec, list, function, BaseVar]
  344. ] = None,
  345. on_mouse_move: Optional[
  346. Union[EventHandler, EventSpec, list, function, BaseVar]
  347. ] = None,
  348. on_mouse_out: Optional[
  349. Union[EventHandler, EventSpec, list, function, BaseVar]
  350. ] = None,
  351. on_mouse_over: Optional[
  352. Union[EventHandler, EventSpec, list, function, BaseVar]
  353. ] = None,
  354. on_mouse_up: Optional[
  355. Union[EventHandler, EventSpec, list, function, BaseVar]
  356. ] = None,
  357. on_scroll: Optional[
  358. Union[EventHandler, EventSpec, list, function, BaseVar]
  359. ] = None,
  360. on_unmount: Optional[
  361. Union[EventHandler, EventSpec, list, function, BaseVar]
  362. ] = None,
  363. **props
  364. ) -> "AlertDialogFooter":
  365. """Create the component.
  366. Args:
  367. *children: The children of the component.
  368. style: The style of the component.
  369. key: A unique key for the component.
  370. id: The id for the component.
  371. class_name: The class name for the component.
  372. autofocus: Whether the component should take the focus once the page is loaded
  373. custom_attrs: custom attribute
  374. **props: The props of the component.
  375. Returns:
  376. The component.
  377. Raises:
  378. TypeError: If an invalid child is passed.
  379. """
  380. ...
  381. class AlertDialogContent(ChakraComponent):
  382. @overload
  383. @classmethod
  384. def create( # type: ignore
  385. cls,
  386. *children,
  387. style: Optional[Style] = None,
  388. key: Optional[Any] = None,
  389. id: Optional[Any] = None,
  390. class_name: Optional[Any] = None,
  391. autofocus: Optional[bool] = None,
  392. custom_attrs: Optional[Dict[str, Union[Var, str]]] = None,
  393. on_blur: Optional[
  394. Union[EventHandler, EventSpec, list, function, BaseVar]
  395. ] = None,
  396. on_click: Optional[
  397. Union[EventHandler, EventSpec, list, function, BaseVar]
  398. ] = None,
  399. on_context_menu: Optional[
  400. Union[EventHandler, EventSpec, list, function, BaseVar]
  401. ] = None,
  402. on_double_click: Optional[
  403. Union[EventHandler, EventSpec, list, function, BaseVar]
  404. ] = None,
  405. on_focus: Optional[
  406. Union[EventHandler, EventSpec, list, function, BaseVar]
  407. ] = None,
  408. on_mount: Optional[
  409. Union[EventHandler, EventSpec, list, function, BaseVar]
  410. ] = None,
  411. on_mouse_down: Optional[
  412. Union[EventHandler, EventSpec, list, function, BaseVar]
  413. ] = None,
  414. on_mouse_enter: Optional[
  415. Union[EventHandler, EventSpec, list, function, BaseVar]
  416. ] = None,
  417. on_mouse_leave: Optional[
  418. Union[EventHandler, EventSpec, list, function, BaseVar]
  419. ] = None,
  420. on_mouse_move: Optional[
  421. Union[EventHandler, EventSpec, list, function, BaseVar]
  422. ] = None,
  423. on_mouse_out: Optional[
  424. Union[EventHandler, EventSpec, list, function, BaseVar]
  425. ] = None,
  426. on_mouse_over: Optional[
  427. Union[EventHandler, EventSpec, list, function, BaseVar]
  428. ] = None,
  429. on_mouse_up: Optional[
  430. Union[EventHandler, EventSpec, list, function, BaseVar]
  431. ] = None,
  432. on_scroll: Optional[
  433. Union[EventHandler, EventSpec, list, function, BaseVar]
  434. ] = None,
  435. on_unmount: Optional[
  436. Union[EventHandler, EventSpec, list, function, BaseVar]
  437. ] = None,
  438. **props
  439. ) -> "AlertDialogContent":
  440. """Create the component.
  441. Args:
  442. *children: The children of the component.
  443. style: The style of the component.
  444. key: A unique key for the component.
  445. id: The id for the component.
  446. class_name: The class name for the component.
  447. autofocus: Whether the component should take the focus once the page is loaded
  448. custom_attrs: custom attribute
  449. **props: The props of the component.
  450. Returns:
  451. The component.
  452. Raises:
  453. TypeError: If an invalid child is passed.
  454. """
  455. ...
  456. class AlertDialogOverlay(ChakraComponent):
  457. @overload
  458. @classmethod
  459. def create( # type: ignore
  460. cls,
  461. *children,
  462. style: Optional[Style] = None,
  463. key: Optional[Any] = None,
  464. id: Optional[Any] = None,
  465. class_name: Optional[Any] = None,
  466. autofocus: Optional[bool] = None,
  467. custom_attrs: Optional[Dict[str, Union[Var, str]]] = None,
  468. on_blur: Optional[
  469. Union[EventHandler, EventSpec, list, function, BaseVar]
  470. ] = None,
  471. on_click: Optional[
  472. Union[EventHandler, EventSpec, list, function, BaseVar]
  473. ] = None,
  474. on_context_menu: Optional[
  475. Union[EventHandler, EventSpec, list, function, BaseVar]
  476. ] = None,
  477. on_double_click: Optional[
  478. Union[EventHandler, EventSpec, list, function, BaseVar]
  479. ] = None,
  480. on_focus: Optional[
  481. Union[EventHandler, EventSpec, list, function, BaseVar]
  482. ] = None,
  483. on_mount: Optional[
  484. Union[EventHandler, EventSpec, list, function, BaseVar]
  485. ] = None,
  486. on_mouse_down: Optional[
  487. Union[EventHandler, EventSpec, list, function, BaseVar]
  488. ] = None,
  489. on_mouse_enter: Optional[
  490. Union[EventHandler, EventSpec, list, function, BaseVar]
  491. ] = None,
  492. on_mouse_leave: Optional[
  493. Union[EventHandler, EventSpec, list, function, BaseVar]
  494. ] = None,
  495. on_mouse_move: Optional[
  496. Union[EventHandler, EventSpec, list, function, BaseVar]
  497. ] = None,
  498. on_mouse_out: Optional[
  499. Union[EventHandler, EventSpec, list, function, BaseVar]
  500. ] = None,
  501. on_mouse_over: Optional[
  502. Union[EventHandler, EventSpec, list, function, BaseVar]
  503. ] = None,
  504. on_mouse_up: Optional[
  505. Union[EventHandler, EventSpec, list, function, BaseVar]
  506. ] = None,
  507. on_scroll: Optional[
  508. Union[EventHandler, EventSpec, list, function, BaseVar]
  509. ] = None,
  510. on_unmount: Optional[
  511. Union[EventHandler, EventSpec, list, function, BaseVar]
  512. ] = None,
  513. **props
  514. ) -> "AlertDialogOverlay":
  515. """Create the component.
  516. Args:
  517. *children: The children of the component.
  518. style: The style of the component.
  519. key: A unique key for the component.
  520. id: The id for the component.
  521. class_name: The class name for the component.
  522. autofocus: Whether the component should take the focus once the page is loaded
  523. custom_attrs: custom attribute
  524. **props: The props of the component.
  525. Returns:
  526. The component.
  527. Raises:
  528. TypeError: If an invalid child is passed.
  529. """
  530. ...
  531. class AlertDialogCloseButton(ChakraComponent):
  532. @overload
  533. @classmethod
  534. def create( # type: ignore
  535. cls,
  536. *children,
  537. style: Optional[Style] = None,
  538. key: Optional[Any] = None,
  539. id: Optional[Any] = None,
  540. class_name: Optional[Any] = None,
  541. autofocus: Optional[bool] = None,
  542. custom_attrs: Optional[Dict[str, Union[Var, str]]] = None,
  543. on_blur: Optional[
  544. Union[EventHandler, EventSpec, list, function, BaseVar]
  545. ] = None,
  546. on_click: Optional[
  547. Union[EventHandler, EventSpec, list, function, BaseVar]
  548. ] = None,
  549. on_context_menu: Optional[
  550. Union[EventHandler, EventSpec, list, function, BaseVar]
  551. ] = None,
  552. on_double_click: Optional[
  553. Union[EventHandler, EventSpec, list, function, BaseVar]
  554. ] = None,
  555. on_focus: Optional[
  556. Union[EventHandler, EventSpec, list, function, BaseVar]
  557. ] = None,
  558. on_mount: Optional[
  559. Union[EventHandler, EventSpec, list, function, BaseVar]
  560. ] = None,
  561. on_mouse_down: Optional[
  562. Union[EventHandler, EventSpec, list, function, BaseVar]
  563. ] = None,
  564. on_mouse_enter: Optional[
  565. Union[EventHandler, EventSpec, list, function, BaseVar]
  566. ] = None,
  567. on_mouse_leave: Optional[
  568. Union[EventHandler, EventSpec, list, function, BaseVar]
  569. ] = None,
  570. on_mouse_move: Optional[
  571. Union[EventHandler, EventSpec, list, function, BaseVar]
  572. ] = None,
  573. on_mouse_out: Optional[
  574. Union[EventHandler, EventSpec, list, function, BaseVar]
  575. ] = None,
  576. on_mouse_over: Optional[
  577. Union[EventHandler, EventSpec, list, function, BaseVar]
  578. ] = None,
  579. on_mouse_up: Optional[
  580. Union[EventHandler, EventSpec, list, function, BaseVar]
  581. ] = None,
  582. on_scroll: Optional[
  583. Union[EventHandler, EventSpec, list, function, BaseVar]
  584. ] = None,
  585. on_unmount: Optional[
  586. Union[EventHandler, EventSpec, list, function, BaseVar]
  587. ] = None,
  588. **props
  589. ) -> "AlertDialogCloseButton":
  590. """Create the component.
  591. Args:
  592. *children: The children of the component.
  593. style: The style of the component.
  594. key: A unique key for the component.
  595. id: The id for the component.
  596. class_name: The class name for the component.
  597. autofocus: Whether the component should take the focus once the page is loaded
  598. custom_attrs: custom attribute
  599. **props: The props of the component.
  600. Returns:
  601. The component.
  602. Raises:
  603. TypeError: If an invalid child is passed.
  604. """
  605. ...