@@ -43,44 +43,46 @@ export const SpinnerScreen = () => {
4343 } px]`,
4444 ) }
4545 >
46- < RadioGroup
47- value = { selectedSize }
48- onChange = { ( value : string ) => setSelectedSize ( value as SpinnerSizes ) }
49- orientation = "horizontal"
50- >
51- < Group label = "Sizes" >
46+ < Group label = "Sizes" >
47+ < RadioGroup
48+ value = { selectedSize }
49+ onChange = { ( value : string ) => setSelectedSize ( value as SpinnerSizes ) }
50+ orientation = "horizontal"
51+ >
5252 < Radio value = "xs" label = "xs" />
5353 < Radio value = "sm" label = "sm" />
5454 < Radio value = "md" label = "md" />
5555 < Radio value = "lg" label = "lg" />
5656 < Radio value = "xl" label = "xl" />
57- </ Group >
58- </ RadioGroup >
59- < RadioGroup
60- value = { selectedTheme }
61- onChange = { ( value : string ) => setSelectedTheme ( value as SpinnerTheme ) }
62- orientation = "horizontal"
63- >
64- < Group label = "Theme" style = { tailwind . style ( "mt-2" ) } >
57+ </ RadioGroup >
58+ </ Group >
59+ < Group label = "Theme" style = { tailwind . style ( "mt-2" ) } >
60+ < RadioGroup
61+ value = { selectedTheme }
62+ onChange = { ( value : string ) =>
63+ setSelectedTheme ( value as SpinnerTheme )
64+ }
65+ orientation = "horizontal"
66+ >
6567 < Radio value = "base" label = "base" />
6668 < Radio value = "primary" label = "primary" />
6769 < Radio value = "secondary" label = "secondary" />
6870 < Radio value = "success" label = "success" />
6971 < Radio value = "danger" label = "danger" />
70- </ Group >
71- </ RadioGroup >
72- < RadioGroup
73- value = { selectedSpinnerTrackVisibility }
74- onChange = { ( value : string ) =>
75- setSelectedSpinnerTrackVisibility ( value as SpinnerTrackVisibility )
76- }
77- orientation = "horizontal"
78- >
79- < Group label = "Track" style = { tailwind . style ( "mt-2" ) } >
72+ </ RadioGroup >
73+ </ Group >
74+ < Group label = "Track" style = { tailwind . style ( "mt-2" ) } >
75+ < RadioGroup
76+ value = { selectedSpinnerTrackVisibility }
77+ onChange = { ( value : string ) =>
78+ setSelectedSpinnerTrackVisibility ( value as SpinnerTrackVisibility )
79+ }
80+ orientation = "horizontal"
81+ >
8082 < Radio value = "visible" label = "visible" />
8183 < Radio value = "transparent" label = "transparent" />
82- </ Group >
83- </ RadioGroup >
84+ </ RadioGroup >
85+ </ Group >
8486 </ Box >
8587 </ Box >
8688 ) ;
0 commit comments