accordion.pyi 23 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619
  1. """Stub file for reflex/components/radix/primitives/accordion.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 Literal
  10. from reflex.components.component import Component
  11. from reflex.components.tags import Tag
  12. from reflex.style import Style
  13. from reflex.utils import format, imports
  14. from reflex.vars import Var
  15. LiteralAccordionType = Literal["single", "multiple"]
  16. LiteralAccordionDir = Literal["ltr", "rtl"]
  17. LiteralAccordionOrientation = Literal["vertical", "horizontal"]
  18. DEFAULT_ANIMATION_DURATION = 250
  19. class AccordionComponent(Component):
  20. @overload
  21. @classmethod
  22. def create( # type: ignore
  23. cls,
  24. *children,
  25. as_child: Optional[Union[Var[bool], bool]] = None,
  26. style: Optional[Style] = None,
  27. key: Optional[Any] = None,
  28. id: Optional[Any] = None,
  29. class_name: Optional[Any] = None,
  30. autofocus: Optional[bool] = None,
  31. custom_attrs: Optional[Dict[str, Union[Var, str]]] = None,
  32. on_blur: Optional[
  33. Union[EventHandler, EventSpec, list, function, BaseVar]
  34. ] = None,
  35. on_click: Optional[
  36. Union[EventHandler, EventSpec, list, function, BaseVar]
  37. ] = None,
  38. on_context_menu: Optional[
  39. Union[EventHandler, EventSpec, list, function, BaseVar]
  40. ] = None,
  41. on_double_click: Optional[
  42. Union[EventHandler, EventSpec, list, function, BaseVar]
  43. ] = None,
  44. on_focus: Optional[
  45. Union[EventHandler, EventSpec, list, function, BaseVar]
  46. ] = None,
  47. on_mount: Optional[
  48. Union[EventHandler, EventSpec, list, function, BaseVar]
  49. ] = None,
  50. on_mouse_down: Optional[
  51. Union[EventHandler, EventSpec, list, function, BaseVar]
  52. ] = None,
  53. on_mouse_enter: Optional[
  54. Union[EventHandler, EventSpec, list, function, BaseVar]
  55. ] = None,
  56. on_mouse_leave: Optional[
  57. Union[EventHandler, EventSpec, list, function, BaseVar]
  58. ] = None,
  59. on_mouse_move: Optional[
  60. Union[EventHandler, EventSpec, list, function, BaseVar]
  61. ] = None,
  62. on_mouse_out: Optional[
  63. Union[EventHandler, EventSpec, list, function, BaseVar]
  64. ] = None,
  65. on_mouse_over: Optional[
  66. Union[EventHandler, EventSpec, list, function, BaseVar]
  67. ] = None,
  68. on_mouse_up: Optional[
  69. Union[EventHandler, EventSpec, list, function, BaseVar]
  70. ] = None,
  71. on_scroll: Optional[
  72. Union[EventHandler, EventSpec, list, function, BaseVar]
  73. ] = None,
  74. on_unmount: Optional[
  75. Union[EventHandler, EventSpec, list, function, BaseVar]
  76. ] = None,
  77. **props
  78. ) -> "AccordionComponent":
  79. """Create the component.
  80. Args:
  81. *children: The children of the component.
  82. as_child: Change the default rendered element for the one passed as a child.
  83. style: The style of the component.
  84. key: A unique key for the component.
  85. id: The id for the component.
  86. class_name: The class name for the component.
  87. autofocus: Whether the component should take the focus once the page is loaded
  88. custom_attrs: custom attribute
  89. **props: The props of the component.
  90. Returns:
  91. The component.
  92. Raises:
  93. TypeError: If an invalid child is passed.
  94. """
  95. ...
  96. class AccordionRoot(AccordionComponent):
  97. @overload
  98. @classmethod
  99. def create( # type: ignore
  100. cls,
  101. *children,
  102. type_: Optional[
  103. Union[Var[Literal["single", "multiple"]], Literal["single", "multiple"]]
  104. ] = None,
  105. value: Optional[Union[Var[str], str]] = None,
  106. default_value: Optional[Union[Var[str], str]] = None,
  107. collapsible: Optional[Union[Var[bool], bool]] = None,
  108. disabled: Optional[Union[Var[bool], bool]] = None,
  109. dir: Optional[Union[Var[Literal["ltr", "rtl"]], Literal["ltr", "rtl"]]] = None,
  110. orientation: Optional[
  111. Union[
  112. Var[Literal["vertical", "horizontal"]],
  113. Literal["vertical", "horizontal"],
  114. ]
  115. ] = None,
  116. as_child: Optional[Union[Var[bool], bool]] = None,
  117. style: Optional[Style] = None,
  118. key: Optional[Any] = None,
  119. id: Optional[Any] = None,
  120. class_name: Optional[Any] = None,
  121. autofocus: Optional[bool] = None,
  122. custom_attrs: Optional[Dict[str, Union[Var, str]]] = None,
  123. on_blur: Optional[
  124. Union[EventHandler, EventSpec, list, function, BaseVar]
  125. ] = None,
  126. on_click: Optional[
  127. Union[EventHandler, EventSpec, list, function, BaseVar]
  128. ] = None,
  129. on_context_menu: Optional[
  130. Union[EventHandler, EventSpec, list, function, BaseVar]
  131. ] = None,
  132. on_double_click: Optional[
  133. Union[EventHandler, EventSpec, list, function, BaseVar]
  134. ] = None,
  135. on_focus: Optional[
  136. Union[EventHandler, EventSpec, list, function, BaseVar]
  137. ] = None,
  138. on_mount: Optional[
  139. Union[EventHandler, EventSpec, list, function, BaseVar]
  140. ] = None,
  141. on_mouse_down: Optional[
  142. Union[EventHandler, EventSpec, list, function, BaseVar]
  143. ] = None,
  144. on_mouse_enter: Optional[
  145. Union[EventHandler, EventSpec, list, function, BaseVar]
  146. ] = None,
  147. on_mouse_leave: Optional[
  148. Union[EventHandler, EventSpec, list, function, BaseVar]
  149. ] = None,
  150. on_mouse_move: Optional[
  151. Union[EventHandler, EventSpec, list, function, BaseVar]
  152. ] = None,
  153. on_mouse_out: Optional[
  154. Union[EventHandler, EventSpec, list, function, BaseVar]
  155. ] = None,
  156. on_mouse_over: Optional[
  157. Union[EventHandler, EventSpec, list, function, BaseVar]
  158. ] = None,
  159. on_mouse_up: Optional[
  160. Union[EventHandler, EventSpec, list, function, BaseVar]
  161. ] = None,
  162. on_scroll: Optional[
  163. Union[EventHandler, EventSpec, list, function, BaseVar]
  164. ] = None,
  165. on_unmount: Optional[
  166. Union[EventHandler, EventSpec, list, function, BaseVar]
  167. ] = None,
  168. **props
  169. ) -> "AccordionRoot":
  170. """Create the component.
  171. Args:
  172. *children: The children of the component.
  173. type_: The type of accordion (single or multiple).
  174. value: The value of the item to expand.
  175. default_value: The default value of the item to expand.
  176. collapsible: Whether or not the accordion is collapsible.
  177. disabled: Whether or not the accordion is disabled.
  178. dir: The reading direction of the accordion when applicable.
  179. orientation: The orientation of the accordion.
  180. as_child: Change the default rendered element for the one passed as a child.
  181. style: The style of the component.
  182. key: A unique key for the component.
  183. id: The id for the component.
  184. class_name: The class name for the component.
  185. autofocus: Whether the component should take the focus once the page is loaded
  186. custom_attrs: custom attribute
  187. **props: The props of the component.
  188. Returns:
  189. The component.
  190. Raises:
  191. TypeError: If an invalid child is passed.
  192. """
  193. ...
  194. class AccordionItem(AccordionComponent):
  195. @overload
  196. @classmethod
  197. def create( # type: ignore
  198. cls,
  199. *children,
  200. value: Optional[Union[Var[str], str]] = None,
  201. disabled: Optional[Union[Var[bool], bool]] = None,
  202. as_child: Optional[Union[Var[bool], bool]] = None,
  203. style: Optional[Style] = None,
  204. key: Optional[Any] = None,
  205. id: Optional[Any] = None,
  206. class_name: Optional[Any] = None,
  207. autofocus: Optional[bool] = None,
  208. custom_attrs: Optional[Dict[str, Union[Var, str]]] = None,
  209. on_blur: Optional[
  210. Union[EventHandler, EventSpec, list, function, BaseVar]
  211. ] = None,
  212. on_click: Optional[
  213. Union[EventHandler, EventSpec, list, function, BaseVar]
  214. ] = None,
  215. on_context_menu: Optional[
  216. Union[EventHandler, EventSpec, list, function, BaseVar]
  217. ] = None,
  218. on_double_click: Optional[
  219. Union[EventHandler, EventSpec, list, function, BaseVar]
  220. ] = None,
  221. on_focus: Optional[
  222. Union[EventHandler, EventSpec, list, function, BaseVar]
  223. ] = None,
  224. on_mount: Optional[
  225. Union[EventHandler, EventSpec, list, function, BaseVar]
  226. ] = None,
  227. on_mouse_down: Optional[
  228. Union[EventHandler, EventSpec, list, function, BaseVar]
  229. ] = None,
  230. on_mouse_enter: Optional[
  231. Union[EventHandler, EventSpec, list, function, BaseVar]
  232. ] = None,
  233. on_mouse_leave: Optional[
  234. Union[EventHandler, EventSpec, list, function, BaseVar]
  235. ] = None,
  236. on_mouse_move: Optional[
  237. Union[EventHandler, EventSpec, list, function, BaseVar]
  238. ] = None,
  239. on_mouse_out: Optional[
  240. Union[EventHandler, EventSpec, list, function, BaseVar]
  241. ] = None,
  242. on_mouse_over: Optional[
  243. Union[EventHandler, EventSpec, list, function, BaseVar]
  244. ] = None,
  245. on_mouse_up: Optional[
  246. Union[EventHandler, EventSpec, list, function, BaseVar]
  247. ] = None,
  248. on_scroll: Optional[
  249. Union[EventHandler, EventSpec, list, function, BaseVar]
  250. ] = None,
  251. on_unmount: Optional[
  252. Union[EventHandler, EventSpec, list, function, BaseVar]
  253. ] = None,
  254. **props
  255. ) -> "AccordionItem":
  256. """Create the component.
  257. Args:
  258. *children: The children of the component.
  259. value: A unique identifier for the item.
  260. disabled: When true, prevents the user from interacting with the item.
  261. as_child: Change the default rendered element for the one passed as a child.
  262. style: The style of the component.
  263. key: A unique key for the component.
  264. id: The id for the component.
  265. class_name: The class name for the component.
  266. autofocus: Whether the component should take the focus once the page is loaded
  267. custom_attrs: custom attribute
  268. **props: The props of the component.
  269. Returns:
  270. The component.
  271. Raises:
  272. TypeError: If an invalid child is passed.
  273. """
  274. ...
  275. class AccordionHeader(AccordionComponent):
  276. @overload
  277. @classmethod
  278. def create( # type: ignore
  279. cls,
  280. *children,
  281. as_child: Optional[Union[Var[bool], bool]] = None,
  282. style: Optional[Style] = None,
  283. key: Optional[Any] = None,
  284. id: Optional[Any] = None,
  285. class_name: Optional[Any] = None,
  286. autofocus: Optional[bool] = None,
  287. custom_attrs: Optional[Dict[str, Union[Var, str]]] = None,
  288. on_blur: Optional[
  289. Union[EventHandler, EventSpec, list, function, BaseVar]
  290. ] = None,
  291. on_click: Optional[
  292. Union[EventHandler, EventSpec, list, function, BaseVar]
  293. ] = None,
  294. on_context_menu: Optional[
  295. Union[EventHandler, EventSpec, list, function, BaseVar]
  296. ] = None,
  297. on_double_click: Optional[
  298. Union[EventHandler, EventSpec, list, function, BaseVar]
  299. ] = None,
  300. on_focus: Optional[
  301. Union[EventHandler, EventSpec, list, function, BaseVar]
  302. ] = None,
  303. on_mount: Optional[
  304. Union[EventHandler, EventSpec, list, function, BaseVar]
  305. ] = None,
  306. on_mouse_down: Optional[
  307. Union[EventHandler, EventSpec, list, function, BaseVar]
  308. ] = None,
  309. on_mouse_enter: Optional[
  310. Union[EventHandler, EventSpec, list, function, BaseVar]
  311. ] = None,
  312. on_mouse_leave: Optional[
  313. Union[EventHandler, EventSpec, list, function, BaseVar]
  314. ] = None,
  315. on_mouse_move: Optional[
  316. Union[EventHandler, EventSpec, list, function, BaseVar]
  317. ] = None,
  318. on_mouse_out: Optional[
  319. Union[EventHandler, EventSpec, list, function, BaseVar]
  320. ] = None,
  321. on_mouse_over: Optional[
  322. Union[EventHandler, EventSpec, list, function, BaseVar]
  323. ] = None,
  324. on_mouse_up: Optional[
  325. Union[EventHandler, EventSpec, list, function, BaseVar]
  326. ] = None,
  327. on_scroll: Optional[
  328. Union[EventHandler, EventSpec, list, function, BaseVar]
  329. ] = None,
  330. on_unmount: Optional[
  331. Union[EventHandler, EventSpec, list, function, BaseVar]
  332. ] = None,
  333. **props
  334. ) -> "AccordionHeader":
  335. """Create the component.
  336. Args:
  337. *children: The children of the component.
  338. as_child: Change the default rendered element for the one passed as a child.
  339. style: The style of the component.
  340. key: A unique key for the component.
  341. id: The id for the component.
  342. class_name: The class name for the component.
  343. autofocus: Whether the component should take the focus once the page is loaded
  344. custom_attrs: custom attribute
  345. **props: The props of the component.
  346. Returns:
  347. The component.
  348. Raises:
  349. TypeError: If an invalid child is passed.
  350. """
  351. ...
  352. class AccordionTrigger(AccordionComponent):
  353. @overload
  354. @classmethod
  355. def create( # type: ignore
  356. cls,
  357. *children,
  358. as_child: Optional[Union[Var[bool], bool]] = None,
  359. style: Optional[Style] = None,
  360. key: Optional[Any] = None,
  361. id: Optional[Any] = None,
  362. class_name: Optional[Any] = None,
  363. autofocus: Optional[bool] = None,
  364. custom_attrs: Optional[Dict[str, Union[Var, str]]] = None,
  365. on_blur: Optional[
  366. Union[EventHandler, EventSpec, list, function, BaseVar]
  367. ] = None,
  368. on_click: Optional[
  369. Union[EventHandler, EventSpec, list, function, BaseVar]
  370. ] = None,
  371. on_context_menu: Optional[
  372. Union[EventHandler, EventSpec, list, function, BaseVar]
  373. ] = None,
  374. on_double_click: Optional[
  375. Union[EventHandler, EventSpec, list, function, BaseVar]
  376. ] = None,
  377. on_focus: Optional[
  378. Union[EventHandler, EventSpec, list, function, BaseVar]
  379. ] = None,
  380. on_mount: Optional[
  381. Union[EventHandler, EventSpec, list, function, BaseVar]
  382. ] = None,
  383. on_mouse_down: Optional[
  384. Union[EventHandler, EventSpec, list, function, BaseVar]
  385. ] = None,
  386. on_mouse_enter: Optional[
  387. Union[EventHandler, EventSpec, list, function, BaseVar]
  388. ] = None,
  389. on_mouse_leave: Optional[
  390. Union[EventHandler, EventSpec, list, function, BaseVar]
  391. ] = None,
  392. on_mouse_move: Optional[
  393. Union[EventHandler, EventSpec, list, function, BaseVar]
  394. ] = None,
  395. on_mouse_out: Optional[
  396. Union[EventHandler, EventSpec, list, function, BaseVar]
  397. ] = None,
  398. on_mouse_over: Optional[
  399. Union[EventHandler, EventSpec, list, function, BaseVar]
  400. ] = None,
  401. on_mouse_up: Optional[
  402. Union[EventHandler, EventSpec, list, function, BaseVar]
  403. ] = None,
  404. on_scroll: Optional[
  405. Union[EventHandler, EventSpec, list, function, BaseVar]
  406. ] = None,
  407. on_unmount: Optional[
  408. Union[EventHandler, EventSpec, list, function, BaseVar]
  409. ] = None,
  410. **props
  411. ) -> "AccordionTrigger":
  412. """Create the component.
  413. Args:
  414. *children: The children of the component.
  415. as_child: Change the default rendered element for the one passed as a child.
  416. style: The style of the component.
  417. key: A unique key for the component.
  418. id: The id for the component.
  419. class_name: The class name for the component.
  420. autofocus: Whether the component should take the focus once the page is loaded
  421. custom_attrs: custom attribute
  422. **props: The props of the component.
  423. Returns:
  424. The component.
  425. Raises:
  426. TypeError: If an invalid child is passed.
  427. """
  428. ...
  429. class AccordionContent(AccordionComponent):
  430. @overload
  431. @classmethod
  432. def create( # type: ignore
  433. cls,
  434. *children,
  435. as_child: Optional[Union[Var[bool], bool]] = None,
  436. style: Optional[Style] = None,
  437. key: Optional[Any] = None,
  438. id: Optional[Any] = None,
  439. class_name: Optional[Any] = None,
  440. autofocus: Optional[bool] = None,
  441. custom_attrs: Optional[Dict[str, Union[Var, str]]] = None,
  442. on_blur: Optional[
  443. Union[EventHandler, EventSpec, list, function, BaseVar]
  444. ] = None,
  445. on_click: Optional[
  446. Union[EventHandler, EventSpec, list, function, BaseVar]
  447. ] = None,
  448. on_context_menu: Optional[
  449. Union[EventHandler, EventSpec, list, function, BaseVar]
  450. ] = None,
  451. on_double_click: Optional[
  452. Union[EventHandler, EventSpec, list, function, BaseVar]
  453. ] = None,
  454. on_focus: Optional[
  455. Union[EventHandler, EventSpec, list, function, BaseVar]
  456. ] = None,
  457. on_mount: Optional[
  458. Union[EventHandler, EventSpec, list, function, BaseVar]
  459. ] = None,
  460. on_mouse_down: Optional[
  461. Union[EventHandler, EventSpec, list, function, BaseVar]
  462. ] = None,
  463. on_mouse_enter: Optional[
  464. Union[EventHandler, EventSpec, list, function, BaseVar]
  465. ] = None,
  466. on_mouse_leave: Optional[
  467. Union[EventHandler, EventSpec, list, function, BaseVar]
  468. ] = None,
  469. on_mouse_move: Optional[
  470. Union[EventHandler, EventSpec, list, function, BaseVar]
  471. ] = None,
  472. on_mouse_out: Optional[
  473. Union[EventHandler, EventSpec, list, function, BaseVar]
  474. ] = None,
  475. on_mouse_over: Optional[
  476. Union[EventHandler, EventSpec, list, function, BaseVar]
  477. ] = None,
  478. on_mouse_up: Optional[
  479. Union[EventHandler, EventSpec, list, function, BaseVar]
  480. ] = None,
  481. on_scroll: Optional[
  482. Union[EventHandler, EventSpec, list, function, BaseVar]
  483. ] = None,
  484. on_unmount: Optional[
  485. Union[EventHandler, EventSpec, list, function, BaseVar]
  486. ] = None,
  487. **props
  488. ) -> "AccordionContent":
  489. """Create the component.
  490. Args:
  491. *children: The children of the component.
  492. as_child: Change the default rendered element for the one passed as a child.
  493. style: The style of the component.
  494. key: A unique key for the component.
  495. id: The id for the component.
  496. class_name: The class name for the component.
  497. autofocus: Whether the component should take the focus once the page is loaded
  498. custom_attrs: custom attribute
  499. **props: The props of the component.
  500. Returns:
  501. The component.
  502. Raises:
  503. TypeError: If an invalid child is passed.
  504. """
  505. ...
  506. class ChevronDownIcon(Component):
  507. @overload
  508. @classmethod
  509. def create( # type: ignore
  510. cls,
  511. *children,
  512. style: Optional[Style] = None,
  513. key: Optional[Any] = None,
  514. id: Optional[Any] = None,
  515. class_name: Optional[Any] = None,
  516. autofocus: Optional[bool] = None,
  517. custom_attrs: Optional[Dict[str, Union[Var, str]]] = None,
  518. on_blur: Optional[
  519. Union[EventHandler, EventSpec, list, function, BaseVar]
  520. ] = None,
  521. on_click: Optional[
  522. Union[EventHandler, EventSpec, list, function, BaseVar]
  523. ] = None,
  524. on_context_menu: Optional[
  525. Union[EventHandler, EventSpec, list, function, BaseVar]
  526. ] = None,
  527. on_double_click: Optional[
  528. Union[EventHandler, EventSpec, list, function, BaseVar]
  529. ] = None,
  530. on_focus: Optional[
  531. Union[EventHandler, EventSpec, list, function, BaseVar]
  532. ] = None,
  533. on_mount: Optional[
  534. Union[EventHandler, EventSpec, list, function, BaseVar]
  535. ] = None,
  536. on_mouse_down: Optional[
  537. Union[EventHandler, EventSpec, list, function, BaseVar]
  538. ] = None,
  539. on_mouse_enter: Optional[
  540. Union[EventHandler, EventSpec, list, function, BaseVar]
  541. ] = None,
  542. on_mouse_leave: Optional[
  543. Union[EventHandler, EventSpec, list, function, BaseVar]
  544. ] = None,
  545. on_mouse_move: Optional[
  546. Union[EventHandler, EventSpec, list, function, BaseVar]
  547. ] = None,
  548. on_mouse_out: Optional[
  549. Union[EventHandler, EventSpec, list, function, BaseVar]
  550. ] = None,
  551. on_mouse_over: Optional[
  552. Union[EventHandler, EventSpec, list, function, BaseVar]
  553. ] = None,
  554. on_mouse_up: Optional[
  555. Union[EventHandler, EventSpec, list, function, BaseVar]
  556. ] = None,
  557. on_scroll: Optional[
  558. Union[EventHandler, EventSpec, list, function, BaseVar]
  559. ] = None,
  560. on_unmount: Optional[
  561. Union[EventHandler, EventSpec, list, function, BaseVar]
  562. ] = None,
  563. **props
  564. ) -> "ChevronDownIcon":
  565. """Create the component.
  566. Args:
  567. *children: The children of the component.
  568. style: The style of the component.
  569. key: A unique key for the component.
  570. id: The id for the component.
  571. class_name: The class name for the component.
  572. autofocus: Whether the component should take the focus once the page is loaded
  573. custom_attrs: custom attribute
  574. **props: The props of the component.
  575. Returns:
  576. The component.
  577. Raises:
  578. TypeError: If an invalid child is passed.
  579. """
  580. ...
  581. accordion_root = AccordionRoot.create
  582. accordion_item = AccordionItem.create
  583. accordion_trigger = AccordionTrigger.create
  584. accordion_content = AccordionContent.create
  585. accordion_header = AccordionHeader.create
  586. chevron_down_icon = ChevronDownIcon.create
  587. def accordion(items: list[tuple[str, str]], **props) -> Component: ...