Skip to content

Commit

Permalink
refactor: radix section default size (#3406)
Browse files Browse the repository at this point in the history
  • Loading branch information
Jishnu-Nandhiath authored May 31, 2024
1 parent 2f1a68c commit 83d9988
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions reflex/components/radix/themes/layout/section.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,5 @@ class Section(el.Section, RadixThemesComponent):

tag = "Section"

# The size of the section: "1" - "3" (default "3")
size: Var[LiteralSectionSize]
# The size of the section: "1" - "3" (default "2")
size: Var[LiteralSectionSize] = Var.create_safe("2")
2 changes: 1 addition & 1 deletion reflex/components/radix/themes/layout/section.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ class Section(el.Section, RadixThemesComponent):
Args:
*children: Child components.
size: The size of the section: "1" - "3" (default "3")
size: The size of the section: "1" - "3" (default "2")
access_key: Provides a hint for generating a keyboard shortcut for the current element.
auto_capitalize: Controls whether and how text input is automatically capitalized as it is entered/edited by the user.
content_editable: Indicates whether the element's content is editable.
Expand Down

0 comments on commit 83d9988

Please sign in to comment.