Radio

Radio const

Radio: ComponentType<SwitchBaseProps & RefAttributes<HTMLInputElement> & > = ...

Radio components are used to let a user select only one of a limited number of choices. Consider wrapping the Radio component within a Label component if you would like to add a text label.

Example:

   
1
2
3
import { Radio, Label } from 'jimu-ui';
<Label><Radio name="sample" value="1" checked/> option 1 <Label>
<Label><Radio name="sample" value="2"/> option 2 <Label>

Props:

See SwitchBaseProps for more details.

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.