Add Radio in form demo, close #3910

pull/4128/head
afc163 8 years ago
parent 9c3c2d7c0c
commit 5815ce514a

@ -114,6 +114,19 @@ const Demo = Form.create()(React.createClass({
label="Radio.Group"
>
{getFieldDecorator('radio-group')(
<RadioGroup>
<Radio value="a">item 1</Radio>
<Radio value="b">item 2</Radio>
<Radio value="c">item 3</Radio>
</RadioGroup>
)}
</FormItem>
<FormItem
{...formItemLayout}
label="Radio.Button"
>
{getFieldDecorator('radio-button')(
<RadioGroup>
<RadioButton value="a">item 1</RadioButton>
<RadioButton value="b">item 2</RadioButton>

Loading…
Cancel
Save