소스 검색

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

Tom Gotsman 1 년 전
부모
커밋
14e35e51ee
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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]