Files
react-test/docs/data/joy/components/radio-button/ControlledRadioButtonsGroup.tsx.preview

14 lines
353 B
Plaintext
Raw Normal View History

2025-12-12 14:26:25 +09:00
<FormControl>
<FormLabel>Gender</FormLabel>
<RadioGroup
defaultValue="female"
name="controlled-radio-buttons-group"
value={value}
onChange={handleChange}
sx={{ my: 1 }}
>
<Radio value="female" label="Female" />
<Radio value="male" label="Male" />
<Radio value="other" label="Other" />
</RadioGroup>
</FormControl>