Explorar o código

add separator default width to fill the container (#2459)

Tom Gotsman hai 1 ano
pai
achega
14e35e51ee
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      reflex/components/radix/themes/components/separator.py

+ 1 - 1
reflex/components/radix/themes/components/separator.py

@@ -18,7 +18,7 @@ class Separator(CommonMarginProps, RadixThemesComponent):
     tag = "Separator"
 
     # The size of the select: "1" | "2" | "3" | "4"
-    size: Var[LiteralSeperatorSize]
+    size: Var[LiteralSeperatorSize] = Var.create_safe("4")
 
     # The color of the select
     color: Var[LiteralAccentColor]