Breaking
- Renamed react-radio-button to react-radio
What's New
- Adds RadioGroup component
<RadioGroup
name="comic"
value={this.state.value}
onChange={(value, event) => {
this.setState({ value: value });
}}
>
<div className="row">
<div className="col-xs-12 col-sm-6">
<RadioButton label="Batman (DC)" value="dc:batman" />
<RadioButton label="Hulk (Marvel)" value="marvel:hulk" />
</div>
<div className="col-xs-12 col-sm-6">
<RadioButton label="Superman (DC)" value="dc:superman" />
<RadioButton label="Spider-Man (Marvel)" value="marvel:spiderman" disabled />
</div>
</div>
</RadioGroup>