diff --git a/reflex/components/radix/themes/layout/section.py b/reflex/components/radix/themes/layout/section.py index 5f17b270c9..13ff4d54ea 100644 --- a/reflex/components/radix/themes/layout/section.py +++ b/reflex/components/radix/themes/layout/section.py @@ -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") diff --git a/reflex/components/radix/themes/layout/section.pyi b/reflex/components/radix/themes/layout/section.pyi index 5b9ef9c5f9..4442a31ed2 100644 --- a/reflex/components/radix/themes/layout/section.pyi +++ b/reflex/components/radix/themes/layout/section.pyi @@ -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.