update radio

This commit is contained in:
SimaQ 2015-07-21 16:26:53 +08:00
parent 72c220a9f1
commit 77d263f063
2 changed files with 7 additions and 7 deletions

View File

@ -75,11 +75,11 @@ React.render(
<div className="ant-form-item ant-form-item-compact">
<label className="col-6">ant-radio</label>
<div className="col-18">
<RadioGroup>
<Radio value="a" value={true}>A</Radio>
<Radio value="b" >B</Radio>
<Radio value="c" >C</Radio>
<Radio value="d">D</Radio>
<RadioGroup value={"b"}>
<Radio value="a">A</Radio>
<Radio value="b">B</Radio>
<Radio value="c">C</Radio>
<Radio value="d">D</Radio>
</RadioGroup>
</div>
</div>

View File

@ -34,8 +34,8 @@ React.render(
<div className="ant-form-item ant-form-item-compact">
<label className="col-6" required>您的性别:</label>
<div className="col-14">
<RadioGroup>
<Radio value="male" checked={true}>男的</Radio>
<RadioGroup value="male">
<Radio value="male">男的</Radio>
<Radio value="female">女的</Radio>
</RadioGroup>
</div>