Skip to content

Commit a4e6dd9

Browse files
committed
up
1 parent 41eaae7 commit a4e6dd9

File tree

1 file changed

+40
-41
lines changed

1 file changed

+40
-41
lines changed

docs/content/3.components/radio-group.md

Lines changed: 40 additions & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -109,9 +109,9 @@ props:
109109
---
110110
::
111111

112-
### Variant
112+
### Legend
113113

114-
Use the `variant` prop to change the variant of the RadioGroup.
114+
Use the `legend` prop to set the legend of the RadioGroup.
115115

116116
::component-code
117117
---
@@ -121,25 +121,21 @@ ignore:
121121
- items
122122
external:
123123
- items
124+
externalTypes:
125+
- RadioGroupItem[]
124126
props:
125-
variant: 'table'
126-
defaultValue: 'pro'
127+
legend: 'Theme'
128+
defaultValue: 'System'
127129
items:
128-
- label: 'Pro'
129-
value: 'pro'
130-
description: 'Tailored for indie hackers, freelancers and solo founders.'
131-
- label: 'Startup'
132-
value: 'startup'
133-
description: 'Best suited for small teams, startups and agencies.'
134-
- label: 'Enterprise'
135-
value: 'enterprise'
136-
description: 'Ideal for larger teams and organizations.'
130+
- 'System'
131+
- 'Light'
132+
- 'Dark'
137133
---
138134
::
139135

140-
### Legend
136+
### Color
141137

142-
Use the `legend` prop to set the legend of the RadioGroup.
138+
Use the `color` prop to change the color of the RadioGroup.
143139

144140
::component-code
145141
---
@@ -152,7 +148,7 @@ external:
152148
externalTypes:
153149
- RadioGroupItem[]
154150
props:
155-
legend: 'Theme'
151+
color: neutral
156152
defaultValue: 'System'
157153
items:
158154
- 'System'
@@ -161,9 +157,9 @@ props:
161157
---
162158
::
163159

164-
### Orientation
160+
### Variant
165161

166-
Use the `orientation` prop to change the orientation of the RadioGroup. Defaults to `vertical`.
162+
Use the `variant` prop to change the variant of the RadioGroup.
167163

168164
::component-code
169165
---
@@ -173,50 +169,51 @@ ignore:
173169
- items
174170
external:
175171
- items
176-
externalTypes:
177-
- RadioGroupItem[]
178172
props:
179-
orientation: 'horizontal'
180-
defaultValue: 'System'
173+
color: 'primary'
174+
variant: 'table'
175+
defaultValue: 'pro'
181176
items:
182-
- 'System'
183-
- 'Light'
184-
- 'Dark'
177+
- label: 'Pro'
178+
value: 'pro'
179+
description: 'Tailored for indie hackers, freelancers and solo founders.'
180+
- label: 'Startup'
181+
value: 'startup'
182+
description: 'Best suited for small teams, startups and agencies.'
183+
- label: 'Enterprise'
184+
value: 'enterprise'
185+
description: 'Ideal for larger teams and organizations.'
185186
---
186187
::
187188

188-
### Indicator
189+
### Size
189190

190-
Use the `indicator` prop to change the position or hide the indicator. Defaults to `left`.
191+
Use the `size` prop to change the size of the RadioGroup.
191192

192193
::component-code
193194
---
194195
prettier: true
195196
ignore:
196-
- modelValue
197+
- defaultValue
197198
- items
198-
- variant
199199
external:
200200
- items
201-
- modelValue
202-
- variant
203201
externalTypes:
204202
- RadioGroupItem[]
205-
- RadioGroupValue
206203
props:
207-
indicator: 'left'
208-
variant: 'card'
209-
modelValue: 'System'
204+
size: 'xl'
205+
variant: 'list'
206+
defaultValue: 'System'
210207
items:
211208
- 'System'
212209
- 'Light'
213210
- 'Dark'
214211
---
215212
::
216213

217-
### Color
214+
### Orientation
218215

219-
Use the `color` prop to change the color of the RadioGroup.
216+
Use the `orientation` prop to change the orientation of the RadioGroup. Defaults to `vertical`.
220217

221218
::component-code
222219
---
@@ -229,7 +226,8 @@ external:
229226
externalTypes:
230227
- RadioGroupItem[]
231228
props:
232-
color: neutral
229+
orientation: 'horizontal'
230+
variant: 'list'
233231
defaultValue: 'System'
234232
items:
235233
- 'System'
@@ -238,9 +236,9 @@ props:
238236
---
239237
::
240238

241-
### Size
239+
### Indicator
242240

243-
Use the `size` prop to change the size of the RadioGroup.
241+
Use the `indicator` prop to change the position or hide the indicator. Defaults to `start`.
244242

245243
::component-code
246244
---
@@ -253,7 +251,8 @@ external:
253251
externalTypes:
254252
- RadioGroupItem[]
255253
props:
256-
size: 'xl'
254+
indicator: 'end'
255+
variant: 'card'
257256
defaultValue: 'System'
258257
items:
259258
- 'System'

0 commit comments

Comments
 (0)