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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

16 lines
513 B
Plaintext
Raw Normal View History

2025-12-12 14:26:25 +09:00
<FormControl>
<FormLabel>Gender</FormLabel>
<RadioGroup defaultValue="female" name="radio-buttons-group">
<Radio
value="female"
label="Female"
slotProps={{ input: { 'aria-describedby': 'female-helper-text' } }}
/>
<FormHelperText id="female-helper-text">
Helper text for this radio.
</FormHelperText>
<Radio value="male" label="Male" />
<Radio value="other" label="Other" />
</RadioGroup>
<FormHelperText>This is helper text.</FormHelperText>
</FormControl>