RadioGroup
A single-selection group of radios.
Usage
Demonstration
Props
className
className
Type:
String
Sets the class name of the radiogroup
container.
selected
selected
Type:
Function
:(id: String|Number) -> *
Id of selected radio, if any.
onChange
onChange
Type:
Function
:(id: String|Number) -> *
This callback is called whenever the user selects a nested <Radio />
.
Arguments:
id
: The value passed as the<Radio />
'sid
prop.
children
children
An arbitrary component tree that should eventually render at least one or more <Radio />
s.
Last updated