tables.pyi 48 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923
  1. """Stub file for reflex/components/el/elements/tables.py"""
  2. # ------------------- DO NOT EDIT ----------------------
  3. # This file was generated by `reflex/utils/pyi_generator.py`!
  4. # ------------------------------------------------------
  5. from typing import Any, Dict, Optional, Union, overload
  6. from reflex.event import EventType
  7. from reflex.style import Style
  8. from reflex.vars.base import Var
  9. from .base import BaseHTML
  10. class Caption(BaseHTML):
  11. @overload
  12. @classmethod
  13. def create( # type: ignore
  14. cls,
  15. *children,
  16. align: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  17. access_key: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  18. auto_capitalize: Optional[
  19. Union[Var[Union[bool, int, str]], bool, int, str]
  20. ] = None,
  21. content_editable: Optional[
  22. Union[Var[Union[bool, int, str]], bool, int, str]
  23. ] = None,
  24. context_menu: Optional[
  25. Union[Var[Union[bool, int, str]], bool, int, str]
  26. ] = None,
  27. dir: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  28. draggable: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  29. enter_key_hint: Optional[
  30. Union[Var[Union[bool, int, str]], bool, int, str]
  31. ] = None,
  32. hidden: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  33. input_mode: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  34. item_prop: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  35. lang: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  36. role: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  37. slot: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  38. spell_check: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  39. tab_index: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  40. title: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  41. style: Optional[Style] = None,
  42. key: Optional[Any] = None,
  43. id: Optional[Any] = None,
  44. class_name: Optional[Any] = None,
  45. autofocus: Optional[bool] = None,
  46. custom_attrs: Optional[Dict[str, Union[Var, Any]]] = None,
  47. on_blur: Optional[EventType[()]] = None,
  48. on_click: Optional[EventType[()]] = None,
  49. on_context_menu: Optional[EventType[()]] = None,
  50. on_double_click: Optional[EventType[()]] = None,
  51. on_focus: Optional[EventType[()]] = None,
  52. on_mount: Optional[EventType[()]] = None,
  53. on_mouse_down: Optional[EventType[()]] = None,
  54. on_mouse_enter: Optional[EventType[()]] = None,
  55. on_mouse_leave: Optional[EventType[()]] = None,
  56. on_mouse_move: Optional[EventType[()]] = None,
  57. on_mouse_out: Optional[EventType[()]] = None,
  58. on_mouse_over: Optional[EventType[()]] = None,
  59. on_mouse_up: Optional[EventType[()]] = None,
  60. on_scroll: Optional[EventType[()]] = None,
  61. on_unmount: Optional[EventType[()]] = None,
  62. **props,
  63. ) -> "Caption":
  64. """Create the component.
  65. Args:
  66. *children: The children of the component.
  67. align: Alignment of the caption
  68. access_key: Provides a hint for generating a keyboard shortcut for the current element.
  69. auto_capitalize: Controls whether and how text input is automatically capitalized as it is entered/edited by the user.
  70. content_editable: Indicates whether the element's content is editable.
  71. context_menu: Defines the ID of a <menu> element which will serve as the element's context menu.
  72. dir: Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left)
  73. draggable: Defines whether the element can be dragged.
  74. enter_key_hint: Hints what media types the media element is able to play.
  75. hidden: Defines whether the element is hidden.
  76. input_mode: Defines the type of the element.
  77. item_prop: Defines the name of the element for metadata purposes.
  78. lang: Defines the language used in the element.
  79. role: Defines the role of the element.
  80. slot: Assigns a slot in a shadow DOM shadow tree to an element.
  81. spell_check: Defines whether the element may be checked for spelling errors.
  82. tab_index: Defines the position of the current element in the tabbing order.
  83. title: Defines a tooltip for the element.
  84. style: The style of the component.
  85. key: A unique key for the component.
  86. id: The id for the component.
  87. class_name: The class name for the component.
  88. autofocus: Whether the component should take the focus once the page is loaded
  89. custom_attrs: custom attribute
  90. **props: The props of the component.
  91. Returns:
  92. The component.
  93. """
  94. ...
  95. class Col(BaseHTML):
  96. @overload
  97. @classmethod
  98. def create( # type: ignore
  99. cls,
  100. *children,
  101. align: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  102. span: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  103. access_key: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  104. auto_capitalize: Optional[
  105. Union[Var[Union[bool, int, str]], bool, int, str]
  106. ] = None,
  107. content_editable: Optional[
  108. Union[Var[Union[bool, int, str]], bool, int, str]
  109. ] = None,
  110. context_menu: Optional[
  111. Union[Var[Union[bool, int, str]], bool, int, str]
  112. ] = None,
  113. dir: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  114. draggable: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  115. enter_key_hint: Optional[
  116. Union[Var[Union[bool, int, str]], bool, int, str]
  117. ] = None,
  118. hidden: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  119. input_mode: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  120. item_prop: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  121. lang: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  122. role: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  123. slot: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  124. spell_check: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  125. tab_index: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  126. title: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  127. style: Optional[Style] = None,
  128. key: Optional[Any] = None,
  129. id: Optional[Any] = None,
  130. class_name: Optional[Any] = None,
  131. autofocus: Optional[bool] = None,
  132. custom_attrs: Optional[Dict[str, Union[Var, Any]]] = None,
  133. on_blur: Optional[EventType[()]] = None,
  134. on_click: Optional[EventType[()]] = None,
  135. on_context_menu: Optional[EventType[()]] = None,
  136. on_double_click: Optional[EventType[()]] = None,
  137. on_focus: Optional[EventType[()]] = None,
  138. on_mount: Optional[EventType[()]] = None,
  139. on_mouse_down: Optional[EventType[()]] = None,
  140. on_mouse_enter: Optional[EventType[()]] = None,
  141. on_mouse_leave: Optional[EventType[()]] = None,
  142. on_mouse_move: Optional[EventType[()]] = None,
  143. on_mouse_out: Optional[EventType[()]] = None,
  144. on_mouse_over: Optional[EventType[()]] = None,
  145. on_mouse_up: Optional[EventType[()]] = None,
  146. on_scroll: Optional[EventType[()]] = None,
  147. on_unmount: Optional[EventType[()]] = None,
  148. **props,
  149. ) -> "Col":
  150. """Create the component.
  151. Args:
  152. *children: The children of the component.
  153. align: Alignment of the content within the column
  154. span: Number of columns the col element spans
  155. access_key: Provides a hint for generating a keyboard shortcut for the current element.
  156. auto_capitalize: Controls whether and how text input is automatically capitalized as it is entered/edited by the user.
  157. content_editable: Indicates whether the element's content is editable.
  158. context_menu: Defines the ID of a <menu> element which will serve as the element's context menu.
  159. dir: Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left)
  160. draggable: Defines whether the element can be dragged.
  161. enter_key_hint: Hints what media types the media element is able to play.
  162. hidden: Defines whether the element is hidden.
  163. input_mode: Defines the type of the element.
  164. item_prop: Defines the name of the element for metadata purposes.
  165. lang: Defines the language used in the element.
  166. role: Defines the role of the element.
  167. slot: Assigns a slot in a shadow DOM shadow tree to an element.
  168. spell_check: Defines whether the element may be checked for spelling errors.
  169. tab_index: Defines the position of the current element in the tabbing order.
  170. title: Defines a tooltip for the element.
  171. style: The style of the component.
  172. key: A unique key for the component.
  173. id: The id for the component.
  174. class_name: The class name for the component.
  175. autofocus: Whether the component should take the focus once the page is loaded
  176. custom_attrs: custom attribute
  177. **props: The props of the component.
  178. Returns:
  179. The component.
  180. """
  181. ...
  182. class Colgroup(BaseHTML):
  183. @overload
  184. @classmethod
  185. def create( # type: ignore
  186. cls,
  187. *children,
  188. align: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  189. span: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  190. access_key: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  191. auto_capitalize: Optional[
  192. Union[Var[Union[bool, int, str]], bool, int, str]
  193. ] = None,
  194. content_editable: Optional[
  195. Union[Var[Union[bool, int, str]], bool, int, str]
  196. ] = None,
  197. context_menu: Optional[
  198. Union[Var[Union[bool, int, str]], bool, int, str]
  199. ] = None,
  200. dir: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  201. draggable: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  202. enter_key_hint: Optional[
  203. Union[Var[Union[bool, int, str]], bool, int, str]
  204. ] = None,
  205. hidden: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  206. input_mode: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  207. item_prop: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  208. lang: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  209. role: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  210. slot: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  211. spell_check: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  212. tab_index: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  213. title: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  214. style: Optional[Style] = None,
  215. key: Optional[Any] = None,
  216. id: Optional[Any] = None,
  217. class_name: Optional[Any] = None,
  218. autofocus: Optional[bool] = None,
  219. custom_attrs: Optional[Dict[str, Union[Var, Any]]] = None,
  220. on_blur: Optional[EventType[()]] = None,
  221. on_click: Optional[EventType[()]] = None,
  222. on_context_menu: Optional[EventType[()]] = None,
  223. on_double_click: Optional[EventType[()]] = None,
  224. on_focus: Optional[EventType[()]] = None,
  225. on_mount: Optional[EventType[()]] = None,
  226. on_mouse_down: Optional[EventType[()]] = None,
  227. on_mouse_enter: Optional[EventType[()]] = None,
  228. on_mouse_leave: Optional[EventType[()]] = None,
  229. on_mouse_move: Optional[EventType[()]] = None,
  230. on_mouse_out: Optional[EventType[()]] = None,
  231. on_mouse_over: Optional[EventType[()]] = None,
  232. on_mouse_up: Optional[EventType[()]] = None,
  233. on_scroll: Optional[EventType[()]] = None,
  234. on_unmount: Optional[EventType[()]] = None,
  235. **props,
  236. ) -> "Colgroup":
  237. """Create the component.
  238. Args:
  239. *children: The children of the component.
  240. align: Alignment of the content within the column group
  241. span: Number of columns the colgroup element spans
  242. access_key: Provides a hint for generating a keyboard shortcut for the current element.
  243. auto_capitalize: Controls whether and how text input is automatically capitalized as it is entered/edited by the user.
  244. content_editable: Indicates whether the element's content is editable.
  245. context_menu: Defines the ID of a <menu> element which will serve as the element's context menu.
  246. dir: Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left)
  247. draggable: Defines whether the element can be dragged.
  248. enter_key_hint: Hints what media types the media element is able to play.
  249. hidden: Defines whether the element is hidden.
  250. input_mode: Defines the type of the element.
  251. item_prop: Defines the name of the element for metadata purposes.
  252. lang: Defines the language used in the element.
  253. role: Defines the role of the element.
  254. slot: Assigns a slot in a shadow DOM shadow tree to an element.
  255. spell_check: Defines whether the element may be checked for spelling errors.
  256. tab_index: Defines the position of the current element in the tabbing order.
  257. title: Defines a tooltip for the element.
  258. style: The style of the component.
  259. key: A unique key for the component.
  260. id: The id for the component.
  261. class_name: The class name for the component.
  262. autofocus: Whether the component should take the focus once the page is loaded
  263. custom_attrs: custom attribute
  264. **props: The props of the component.
  265. Returns:
  266. The component.
  267. """
  268. ...
  269. class Table(BaseHTML):
  270. @overload
  271. @classmethod
  272. def create( # type: ignore
  273. cls,
  274. *children,
  275. align: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  276. summary: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  277. access_key: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  278. auto_capitalize: Optional[
  279. Union[Var[Union[bool, int, str]], bool, int, str]
  280. ] = None,
  281. content_editable: Optional[
  282. Union[Var[Union[bool, int, str]], bool, int, str]
  283. ] = None,
  284. context_menu: Optional[
  285. Union[Var[Union[bool, int, str]], bool, int, str]
  286. ] = None,
  287. dir: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  288. draggable: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  289. enter_key_hint: Optional[
  290. Union[Var[Union[bool, int, str]], bool, int, str]
  291. ] = None,
  292. hidden: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  293. input_mode: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  294. item_prop: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  295. lang: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  296. role: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  297. slot: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  298. spell_check: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  299. tab_index: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  300. title: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  301. style: Optional[Style] = None,
  302. key: Optional[Any] = None,
  303. id: Optional[Any] = None,
  304. class_name: Optional[Any] = None,
  305. autofocus: Optional[bool] = None,
  306. custom_attrs: Optional[Dict[str, Union[Var, Any]]] = None,
  307. on_blur: Optional[EventType[()]] = None,
  308. on_click: Optional[EventType[()]] = None,
  309. on_context_menu: Optional[EventType[()]] = None,
  310. on_double_click: Optional[EventType[()]] = None,
  311. on_focus: Optional[EventType[()]] = None,
  312. on_mount: Optional[EventType[()]] = None,
  313. on_mouse_down: Optional[EventType[()]] = None,
  314. on_mouse_enter: Optional[EventType[()]] = None,
  315. on_mouse_leave: Optional[EventType[()]] = None,
  316. on_mouse_move: Optional[EventType[()]] = None,
  317. on_mouse_out: Optional[EventType[()]] = None,
  318. on_mouse_over: Optional[EventType[()]] = None,
  319. on_mouse_up: Optional[EventType[()]] = None,
  320. on_scroll: Optional[EventType[()]] = None,
  321. on_unmount: Optional[EventType[()]] = None,
  322. **props,
  323. ) -> "Table":
  324. """Create the component.
  325. Args:
  326. *children: The children of the component.
  327. align: Alignment of the table
  328. summary: Provides a summary of the table's purpose and structure
  329. access_key: Provides a hint for generating a keyboard shortcut for the current element.
  330. auto_capitalize: Controls whether and how text input is automatically capitalized as it is entered/edited by the user.
  331. content_editable: Indicates whether the element's content is editable.
  332. context_menu: Defines the ID of a <menu> element which will serve as the element's context menu.
  333. dir: Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left)
  334. draggable: Defines whether the element can be dragged.
  335. enter_key_hint: Hints what media types the media element is able to play.
  336. hidden: Defines whether the element is hidden.
  337. input_mode: Defines the type of the element.
  338. item_prop: Defines the name of the element for metadata purposes.
  339. lang: Defines the language used in the element.
  340. role: Defines the role of the element.
  341. slot: Assigns a slot in a shadow DOM shadow tree to an element.
  342. spell_check: Defines whether the element may be checked for spelling errors.
  343. tab_index: Defines the position of the current element in the tabbing order.
  344. title: Defines a tooltip for the element.
  345. style: The style of the component.
  346. key: A unique key for the component.
  347. id: The id for the component.
  348. class_name: The class name for the component.
  349. autofocus: Whether the component should take the focus once the page is loaded
  350. custom_attrs: custom attribute
  351. **props: The props of the component.
  352. Returns:
  353. The component.
  354. """
  355. ...
  356. class Tbody(BaseHTML):
  357. @overload
  358. @classmethod
  359. def create( # type: ignore
  360. cls,
  361. *children,
  362. align: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  363. access_key: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  364. auto_capitalize: Optional[
  365. Union[Var[Union[bool, int, str]], bool, int, str]
  366. ] = None,
  367. content_editable: Optional[
  368. Union[Var[Union[bool, int, str]], bool, int, str]
  369. ] = None,
  370. context_menu: Optional[
  371. Union[Var[Union[bool, int, str]], bool, int, str]
  372. ] = None,
  373. dir: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  374. draggable: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  375. enter_key_hint: Optional[
  376. Union[Var[Union[bool, int, str]], bool, int, str]
  377. ] = None,
  378. hidden: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  379. input_mode: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  380. item_prop: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  381. lang: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  382. role: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  383. slot: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  384. spell_check: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  385. tab_index: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  386. title: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  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, Any]]] = None,
  393. on_blur: Optional[EventType[()]] = None,
  394. on_click: Optional[EventType[()]] = None,
  395. on_context_menu: Optional[EventType[()]] = None,
  396. on_double_click: Optional[EventType[()]] = None,
  397. on_focus: Optional[EventType[()]] = None,
  398. on_mount: Optional[EventType[()]] = None,
  399. on_mouse_down: Optional[EventType[()]] = None,
  400. on_mouse_enter: Optional[EventType[()]] = None,
  401. on_mouse_leave: Optional[EventType[()]] = None,
  402. on_mouse_move: Optional[EventType[()]] = None,
  403. on_mouse_out: Optional[EventType[()]] = None,
  404. on_mouse_over: Optional[EventType[()]] = None,
  405. on_mouse_up: Optional[EventType[()]] = None,
  406. on_scroll: Optional[EventType[()]] = None,
  407. on_unmount: Optional[EventType[()]] = None,
  408. **props,
  409. ) -> "Tbody":
  410. """Create the component.
  411. Args:
  412. *children: The children of the component.
  413. align: Alignment of the content within the table body
  414. access_key: Provides a hint for generating a keyboard shortcut for the current element.
  415. auto_capitalize: Controls whether and how text input is automatically capitalized as it is entered/edited by the user.
  416. content_editable: Indicates whether the element's content is editable.
  417. context_menu: Defines the ID of a <menu> element which will serve as the element's context menu.
  418. dir: Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left)
  419. draggable: Defines whether the element can be dragged.
  420. enter_key_hint: Hints what media types the media element is able to play.
  421. hidden: Defines whether the element is hidden.
  422. input_mode: Defines the type of the element.
  423. item_prop: Defines the name of the element for metadata purposes.
  424. lang: Defines the language used in the element.
  425. role: Defines the role of the element.
  426. slot: Assigns a slot in a shadow DOM shadow tree to an element.
  427. spell_check: Defines whether the element may be checked for spelling errors.
  428. tab_index: Defines the position of the current element in the tabbing order.
  429. title: Defines a tooltip for the element.
  430. style: The style of the component.
  431. key: A unique key for the component.
  432. id: The id for the component.
  433. class_name: The class name for the component.
  434. autofocus: Whether the component should take the focus once the page is loaded
  435. custom_attrs: custom attribute
  436. **props: The props of the component.
  437. Returns:
  438. The component.
  439. """
  440. ...
  441. class Td(BaseHTML):
  442. @overload
  443. @classmethod
  444. def create( # type: ignore
  445. cls,
  446. *children,
  447. align: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  448. col_span: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  449. headers: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  450. row_span: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  451. access_key: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  452. auto_capitalize: Optional[
  453. Union[Var[Union[bool, int, str]], bool, int, str]
  454. ] = None,
  455. content_editable: Optional[
  456. Union[Var[Union[bool, int, str]], bool, int, str]
  457. ] = None,
  458. context_menu: Optional[
  459. Union[Var[Union[bool, int, str]], bool, int, str]
  460. ] = None,
  461. dir: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  462. draggable: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  463. enter_key_hint: Optional[
  464. Union[Var[Union[bool, int, str]], bool, int, str]
  465. ] = None,
  466. hidden: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  467. input_mode: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  468. item_prop: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  469. lang: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  470. role: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  471. slot: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  472. spell_check: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  473. tab_index: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  474. title: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  475. style: Optional[Style] = None,
  476. key: Optional[Any] = None,
  477. id: Optional[Any] = None,
  478. class_name: Optional[Any] = None,
  479. autofocus: Optional[bool] = None,
  480. custom_attrs: Optional[Dict[str, Union[Var, Any]]] = None,
  481. on_blur: Optional[EventType[()]] = None,
  482. on_click: Optional[EventType[()]] = None,
  483. on_context_menu: Optional[EventType[()]] = None,
  484. on_double_click: Optional[EventType[()]] = None,
  485. on_focus: Optional[EventType[()]] = None,
  486. on_mount: Optional[EventType[()]] = None,
  487. on_mouse_down: Optional[EventType[()]] = None,
  488. on_mouse_enter: Optional[EventType[()]] = None,
  489. on_mouse_leave: Optional[EventType[()]] = None,
  490. on_mouse_move: Optional[EventType[()]] = None,
  491. on_mouse_out: Optional[EventType[()]] = None,
  492. on_mouse_over: Optional[EventType[()]] = None,
  493. on_mouse_up: Optional[EventType[()]] = None,
  494. on_scroll: Optional[EventType[()]] = None,
  495. on_unmount: Optional[EventType[()]] = None,
  496. **props,
  497. ) -> "Td":
  498. """Create the component.
  499. Args:
  500. *children: The children of the component.
  501. align: Alignment of the content within the table cell
  502. col_span: Number of columns a cell should span
  503. headers: IDs of the headers associated with this cell
  504. row_span: Number of rows a cell should span
  505. access_key: Provides a hint for generating a keyboard shortcut for the current element.
  506. auto_capitalize: Controls whether and how text input is automatically capitalized as it is entered/edited by the user.
  507. content_editable: Indicates whether the element's content is editable.
  508. context_menu: Defines the ID of a <menu> element which will serve as the element's context menu.
  509. dir: Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left)
  510. draggable: Defines whether the element can be dragged.
  511. enter_key_hint: Hints what media types the media element is able to play.
  512. hidden: Defines whether the element is hidden.
  513. input_mode: Defines the type of the element.
  514. item_prop: Defines the name of the element for metadata purposes.
  515. lang: Defines the language used in the element.
  516. role: Defines the role of the element.
  517. slot: Assigns a slot in a shadow DOM shadow tree to an element.
  518. spell_check: Defines whether the element may be checked for spelling errors.
  519. tab_index: Defines the position of the current element in the tabbing order.
  520. title: Defines a tooltip for the element.
  521. style: The style of the component.
  522. key: A unique key for the component.
  523. id: The id for the component.
  524. class_name: The class name for the component.
  525. autofocus: Whether the component should take the focus once the page is loaded
  526. custom_attrs: custom attribute
  527. **props: The props of the component.
  528. Returns:
  529. The component.
  530. """
  531. ...
  532. class Tfoot(BaseHTML):
  533. @overload
  534. @classmethod
  535. def create( # type: ignore
  536. cls,
  537. *children,
  538. align: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  539. access_key: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  540. auto_capitalize: Optional[
  541. Union[Var[Union[bool, int, str]], bool, int, str]
  542. ] = None,
  543. content_editable: Optional[
  544. Union[Var[Union[bool, int, str]], bool, int, str]
  545. ] = None,
  546. context_menu: Optional[
  547. Union[Var[Union[bool, int, str]], bool, int, str]
  548. ] = None,
  549. dir: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  550. draggable: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  551. enter_key_hint: Optional[
  552. Union[Var[Union[bool, int, str]], bool, int, str]
  553. ] = None,
  554. hidden: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  555. input_mode: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  556. item_prop: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  557. lang: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  558. role: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  559. slot: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  560. spell_check: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  561. tab_index: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  562. title: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  563. style: Optional[Style] = None,
  564. key: Optional[Any] = None,
  565. id: Optional[Any] = None,
  566. class_name: Optional[Any] = None,
  567. autofocus: Optional[bool] = None,
  568. custom_attrs: Optional[Dict[str, Union[Var, Any]]] = None,
  569. on_blur: Optional[EventType[()]] = None,
  570. on_click: Optional[EventType[()]] = None,
  571. on_context_menu: Optional[EventType[()]] = None,
  572. on_double_click: Optional[EventType[()]] = None,
  573. on_focus: Optional[EventType[()]] = None,
  574. on_mount: Optional[EventType[()]] = None,
  575. on_mouse_down: Optional[EventType[()]] = None,
  576. on_mouse_enter: Optional[EventType[()]] = None,
  577. on_mouse_leave: Optional[EventType[()]] = None,
  578. on_mouse_move: Optional[EventType[()]] = None,
  579. on_mouse_out: Optional[EventType[()]] = None,
  580. on_mouse_over: Optional[EventType[()]] = None,
  581. on_mouse_up: Optional[EventType[()]] = None,
  582. on_scroll: Optional[EventType[()]] = None,
  583. on_unmount: Optional[EventType[()]] = None,
  584. **props,
  585. ) -> "Tfoot":
  586. """Create the component.
  587. Args:
  588. *children: The children of the component.
  589. align: Alignment of the content within the table footer
  590. access_key: Provides a hint for generating a keyboard shortcut for the current element.
  591. auto_capitalize: Controls whether and how text input is automatically capitalized as it is entered/edited by the user.
  592. content_editable: Indicates whether the element's content is editable.
  593. context_menu: Defines the ID of a <menu> element which will serve as the element's context menu.
  594. dir: Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left)
  595. draggable: Defines whether the element can be dragged.
  596. enter_key_hint: Hints what media types the media element is able to play.
  597. hidden: Defines whether the element is hidden.
  598. input_mode: Defines the type of the element.
  599. item_prop: Defines the name of the element for metadata purposes.
  600. lang: Defines the language used in the element.
  601. role: Defines the role of the element.
  602. slot: Assigns a slot in a shadow DOM shadow tree to an element.
  603. spell_check: Defines whether the element may be checked for spelling errors.
  604. tab_index: Defines the position of the current element in the tabbing order.
  605. title: Defines a tooltip for the element.
  606. style: The style of the component.
  607. key: A unique key for the component.
  608. id: The id for the component.
  609. class_name: The class name for the component.
  610. autofocus: Whether the component should take the focus once the page is loaded
  611. custom_attrs: custom attribute
  612. **props: The props of the component.
  613. Returns:
  614. The component.
  615. """
  616. ...
  617. class Th(BaseHTML):
  618. @overload
  619. @classmethod
  620. def create( # type: ignore
  621. cls,
  622. *children,
  623. align: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  624. col_span: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  625. headers: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  626. row_span: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  627. scope: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  628. access_key: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  629. auto_capitalize: Optional[
  630. Union[Var[Union[bool, int, str]], bool, int, str]
  631. ] = None,
  632. content_editable: Optional[
  633. Union[Var[Union[bool, int, str]], bool, int, str]
  634. ] = None,
  635. context_menu: Optional[
  636. Union[Var[Union[bool, int, str]], bool, int, str]
  637. ] = None,
  638. dir: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  639. draggable: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  640. enter_key_hint: Optional[
  641. Union[Var[Union[bool, int, str]], bool, int, str]
  642. ] = None,
  643. hidden: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  644. input_mode: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  645. item_prop: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  646. lang: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  647. role: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  648. slot: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  649. spell_check: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  650. tab_index: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  651. title: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  652. style: Optional[Style] = None,
  653. key: Optional[Any] = None,
  654. id: Optional[Any] = None,
  655. class_name: Optional[Any] = None,
  656. autofocus: Optional[bool] = None,
  657. custom_attrs: Optional[Dict[str, Union[Var, Any]]] = None,
  658. on_blur: Optional[EventType[()]] = None,
  659. on_click: Optional[EventType[()]] = None,
  660. on_context_menu: Optional[EventType[()]] = None,
  661. on_double_click: Optional[EventType[()]] = None,
  662. on_focus: Optional[EventType[()]] = None,
  663. on_mount: Optional[EventType[()]] = None,
  664. on_mouse_down: Optional[EventType[()]] = None,
  665. on_mouse_enter: Optional[EventType[()]] = None,
  666. on_mouse_leave: Optional[EventType[()]] = None,
  667. on_mouse_move: Optional[EventType[()]] = None,
  668. on_mouse_out: Optional[EventType[()]] = None,
  669. on_mouse_over: Optional[EventType[()]] = None,
  670. on_mouse_up: Optional[EventType[()]] = None,
  671. on_scroll: Optional[EventType[()]] = None,
  672. on_unmount: Optional[EventType[()]] = None,
  673. **props,
  674. ) -> "Th":
  675. """Create the component.
  676. Args:
  677. *children: The children of the component.
  678. align: Alignment of the content within the table header cell
  679. col_span: Number of columns a header cell should span
  680. headers: IDs of the headers associated with this header cell
  681. row_span: Number of rows a header cell should span
  682. scope: Scope of the header cell (row, col, rowgroup, colgroup)
  683. access_key: Provides a hint for generating a keyboard shortcut for the current element.
  684. auto_capitalize: Controls whether and how text input is automatically capitalized as it is entered/edited by the user.
  685. content_editable: Indicates whether the element's content is editable.
  686. context_menu: Defines the ID of a <menu> element which will serve as the element's context menu.
  687. dir: Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left)
  688. draggable: Defines whether the element can be dragged.
  689. enter_key_hint: Hints what media types the media element is able to play.
  690. hidden: Defines whether the element is hidden.
  691. input_mode: Defines the type of the element.
  692. item_prop: Defines the name of the element for metadata purposes.
  693. lang: Defines the language used in the element.
  694. role: Defines the role of the element.
  695. slot: Assigns a slot in a shadow DOM shadow tree to an element.
  696. spell_check: Defines whether the element may be checked for spelling errors.
  697. tab_index: Defines the position of the current element in the tabbing order.
  698. title: Defines a tooltip for the element.
  699. style: The style of the component.
  700. key: A unique key for the component.
  701. id: The id for the component.
  702. class_name: The class name for the component.
  703. autofocus: Whether the component should take the focus once the page is loaded
  704. custom_attrs: custom attribute
  705. **props: The props of the component.
  706. Returns:
  707. The component.
  708. """
  709. ...
  710. class Thead(BaseHTML):
  711. @overload
  712. @classmethod
  713. def create( # type: ignore
  714. cls,
  715. *children,
  716. align: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  717. access_key: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  718. auto_capitalize: Optional[
  719. Union[Var[Union[bool, int, str]], bool, int, str]
  720. ] = None,
  721. content_editable: Optional[
  722. Union[Var[Union[bool, int, str]], bool, int, str]
  723. ] = None,
  724. context_menu: Optional[
  725. Union[Var[Union[bool, int, str]], bool, int, str]
  726. ] = None,
  727. dir: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  728. draggable: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  729. enter_key_hint: Optional[
  730. Union[Var[Union[bool, int, str]], bool, int, str]
  731. ] = None,
  732. hidden: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  733. input_mode: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  734. item_prop: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  735. lang: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  736. role: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  737. slot: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  738. spell_check: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  739. tab_index: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  740. title: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  741. style: Optional[Style] = None,
  742. key: Optional[Any] = None,
  743. id: Optional[Any] = None,
  744. class_name: Optional[Any] = None,
  745. autofocus: Optional[bool] = None,
  746. custom_attrs: Optional[Dict[str, Union[Var, Any]]] = None,
  747. on_blur: Optional[EventType[()]] = None,
  748. on_click: Optional[EventType[()]] = None,
  749. on_context_menu: Optional[EventType[()]] = None,
  750. on_double_click: Optional[EventType[()]] = None,
  751. on_focus: Optional[EventType[()]] = None,
  752. on_mount: Optional[EventType[()]] = None,
  753. on_mouse_down: Optional[EventType[()]] = None,
  754. on_mouse_enter: Optional[EventType[()]] = None,
  755. on_mouse_leave: Optional[EventType[()]] = None,
  756. on_mouse_move: Optional[EventType[()]] = None,
  757. on_mouse_out: Optional[EventType[()]] = None,
  758. on_mouse_over: Optional[EventType[()]] = None,
  759. on_mouse_up: Optional[EventType[()]] = None,
  760. on_scroll: Optional[EventType[()]] = None,
  761. on_unmount: Optional[EventType[()]] = None,
  762. **props,
  763. ) -> "Thead":
  764. """Create the component.
  765. Args:
  766. *children: The children of the component.
  767. align: Alignment of the content within the table header
  768. access_key: Provides a hint for generating a keyboard shortcut for the current element.
  769. auto_capitalize: Controls whether and how text input is automatically capitalized as it is entered/edited by the user.
  770. content_editable: Indicates whether the element's content is editable.
  771. context_menu: Defines the ID of a <menu> element which will serve as the element's context menu.
  772. dir: Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left)
  773. draggable: Defines whether the element can be dragged.
  774. enter_key_hint: Hints what media types the media element is able to play.
  775. hidden: Defines whether the element is hidden.
  776. input_mode: Defines the type of the element.
  777. item_prop: Defines the name of the element for metadata purposes.
  778. lang: Defines the language used in the element.
  779. role: Defines the role of the element.
  780. slot: Assigns a slot in a shadow DOM shadow tree to an element.
  781. spell_check: Defines whether the element may be checked for spelling errors.
  782. tab_index: Defines the position of the current element in the tabbing order.
  783. title: Defines a tooltip for the element.
  784. style: The style of the component.
  785. key: A unique key for the component.
  786. id: The id for the component.
  787. class_name: The class name for the component.
  788. autofocus: Whether the component should take the focus once the page is loaded
  789. custom_attrs: custom attribute
  790. **props: The props of the component.
  791. Returns:
  792. The component.
  793. """
  794. ...
  795. class Tr(BaseHTML):
  796. @overload
  797. @classmethod
  798. def create( # type: ignore
  799. cls,
  800. *children,
  801. align: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  802. access_key: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  803. auto_capitalize: Optional[
  804. Union[Var[Union[bool, int, str]], bool, int, str]
  805. ] = None,
  806. content_editable: Optional[
  807. Union[Var[Union[bool, int, str]], bool, int, str]
  808. ] = None,
  809. context_menu: Optional[
  810. Union[Var[Union[bool, int, str]], bool, int, str]
  811. ] = None,
  812. dir: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  813. draggable: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  814. enter_key_hint: Optional[
  815. Union[Var[Union[bool, int, str]], bool, int, str]
  816. ] = None,
  817. hidden: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  818. input_mode: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  819. item_prop: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  820. lang: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  821. role: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  822. slot: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  823. spell_check: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  824. tab_index: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  825. title: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  826. style: Optional[Style] = None,
  827. key: Optional[Any] = None,
  828. id: Optional[Any] = None,
  829. class_name: Optional[Any] = None,
  830. autofocus: Optional[bool] = None,
  831. custom_attrs: Optional[Dict[str, Union[Var, Any]]] = None,
  832. on_blur: Optional[EventType[()]] = None,
  833. on_click: Optional[EventType[()]] = None,
  834. on_context_menu: Optional[EventType[()]] = None,
  835. on_double_click: Optional[EventType[()]] = None,
  836. on_focus: Optional[EventType[()]] = None,
  837. on_mount: Optional[EventType[()]] = None,
  838. on_mouse_down: Optional[EventType[()]] = None,
  839. on_mouse_enter: Optional[EventType[()]] = None,
  840. on_mouse_leave: Optional[EventType[()]] = None,
  841. on_mouse_move: Optional[EventType[()]] = None,
  842. on_mouse_out: Optional[EventType[()]] = None,
  843. on_mouse_over: Optional[EventType[()]] = None,
  844. on_mouse_up: Optional[EventType[()]] = None,
  845. on_scroll: Optional[EventType[()]] = None,
  846. on_unmount: Optional[EventType[()]] = None,
  847. **props,
  848. ) -> "Tr":
  849. """Create the component.
  850. Args:
  851. *children: The children of the component.
  852. align: Alignment of the content within the table row
  853. access_key: Provides a hint for generating a keyboard shortcut for the current element.
  854. auto_capitalize: Controls whether and how text input is automatically capitalized as it is entered/edited by the user.
  855. content_editable: Indicates whether the element's content is editable.
  856. context_menu: Defines the ID of a <menu> element which will serve as the element's context menu.
  857. dir: Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left)
  858. draggable: Defines whether the element can be dragged.
  859. enter_key_hint: Hints what media types the media element is able to play.
  860. hidden: Defines whether the element is hidden.
  861. input_mode: Defines the type of the element.
  862. item_prop: Defines the name of the element for metadata purposes.
  863. lang: Defines the language used in the element.
  864. role: Defines the role of the element.
  865. slot: Assigns a slot in a shadow DOM shadow tree to an element.
  866. spell_check: Defines whether the element may be checked for spelling errors.
  867. tab_index: Defines the position of the current element in the tabbing order.
  868. title: Defines a tooltip for the element.
  869. style: The style of the component.
  870. key: A unique key for the component.
  871. id: The id for the component.
  872. class_name: The class name for the component.
  873. autofocus: Whether the component should take the focus once the page is loaded
  874. custom_attrs: custom attribute
  875. **props: The props of the component.
  876. Returns:
  877. The component.
  878. """
  879. ...
  880. caption = Caption.create
  881. col = Col.create
  882. colgroup = Colgroup.create
  883. table = Table.create
  884. tbody = Tbody.create
  885. td = Td.create
  886. tfoot = Tfoot.create
  887. th = Th.create
  888. thead = Thead.create
  889. tr = Tr.create