Browse Source

Default high level radio to horizontal (#2637)

Nikhil Rao 1 năm trước cách đây
mục cha
commit
0beec0b2a6
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      reflex/components/radix/themes/components/radio_group.py

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

@@ -87,7 +87,7 @@ class HighLevelRadioGroup(RadixThemesComponent):
     items: Var[List[str]]
 
     # The direction of the radio group.
-    direction: Var[LiteralFlexDirection] = Var.create_safe("column")
+    direction: Var[LiteralFlexDirection]
 
     # The gap between the items of the radio group.
     spacing: Var[LiteralSpacing] = Var.create_safe("2")