refactor: radix section default size (#3406)

This commit is contained in:
Jishnu N 2024-05-31 09:22:01 +05:30 committed by GitHub
parent 2f1a68c975
commit 83d99889ec
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 3 additions and 3 deletions

View File

@ -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")

View File

@ -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.