Przeglądaj źródła

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

Tom Gotsman 1 rok temu
rodzic
commit
14e35e51ee

+ 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]