radio group: custom class support, improved options prop
This commit is contained in:
@@ -106,7 +106,12 @@
|
||||
<RadioGroup
|
||||
name="example-radio-group"
|
||||
label="Choose an option"
|
||||
items={['male', 'female', 'other', 'prefer not to say']}
|
||||
options={[
|
||||
'male',
|
||||
'female',
|
||||
'other',
|
||||
{ value: 'prefer_not_to_say', label: 'Prefer not to say' }
|
||||
]}
|
||||
/>
|
||||
</div>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user