Skip to content

Commit

Permalink
Add comments to DataList components (#3827)
Browse files Browse the repository at this point in the history
* fix: Adding missing comments to the data list

* fix: Ran make pyi
  • Loading branch information
elviskahoro authored and adhami3310 committed Aug 27, 2024
1 parent fb4c390 commit 503163b
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
5 changes: 5 additions & 0 deletions reflex/components/radix/themes/components/data_list.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"]]]


Expand All @@ -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]


Expand Down
5 changes: 5 additions & 0 deletions reflex/components/radix/themes/components/data_list.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down Expand Up @@ -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.
Expand Down

0 comments on commit 503163b

Please sign in to comment.