Răsfoiți Sursa

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

Tom Gotsman 1 an în urmă
părinte
comite
14e35e51ee
1 a modificat fișierele cu 1 adăugiri și 1 ștergeri
  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]