mirror of
https://github.com/ant-design/ant-design.git
synced 2025-01-18 06:03:38 +08:00
update radio
This commit is contained in:
parent
72c220a9f1
commit
77d263f063
@ -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>
|
||||
|
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user