Add comments to DataList components (#3827)

* fix: Adding missing comments to the data list

* fix: Ran make pyi
This commit is contained in:
elvis kahoro 2024-08-23 18:29:33 -07:00 committed by GitHub
parent 56c24f5432
commit a265fb4ae5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 10 additions and 0 deletions

View File

@ -29,6 +29,7 @@ class DataListItem(RadixThemesComponent):
tag = "DataList.Item"
# The alignment of the data list item within its container.
align: Var[Responsive[Literal["start", "center", "end", "baseline", "stretch"]]]
@ -37,12 +38,16 @@ class DataListLabel(RadixThemesComponent):
tag = "DataList.Label"
# The width of the component
width: Var[Responsive[str]]
# The minimum width of the component
min_width: Var[Responsive[str]]
# The maximum width of the component
max_width: Var[Responsive[str]]
# The color scheme for the DataList component.
color_scheme: Var[LiteralAccentColor]

View File

@ -213,6 +213,7 @@ class DataListItem(RadixThemesComponent):
Args:
*children: Child components.
align: The alignment of the data list item within its container.
style: The style of the component.
key: A unique key for the component.
id: The id for the component.
@ -363,6 +364,10 @@ class DataListLabel(RadixThemesComponent):
Args:
*children: Child components.
width: The width of the component
min_width: The minimum width of the component
max_width: The maximum width of the component
color_scheme: The color scheme for the DataList component.
style: The style of the component.
key: A unique key for the component.
id: The id for the component.