|
@ -53,42 +53,42 @@ ReactDOM.render( |
|
|
label="Checkbox 多选框:" |
|
|
label="Checkbox 多选框:" |
|
|
labelCol={{ span: 6 }} |
|
|
labelCol={{ span: 6 }} |
|
|
wrapperCol={{ span: 18 }} > |
|
|
wrapperCol={{ span: 18 }} > |
|
|
<label className="ant-checkbox-vertical"> |
|
|
<label className="ant-checkbox-vertical"> |
|
|
<Checkbox />选项一 |
|
|
<Checkbox />选项一 |
|
|
</label> |
|
|
</label> |
|
|
<label className="ant-checkbox-vertical"> |
|
|
<label className="ant-checkbox-vertical"> |
|
|
<Checkbox />选项二 |
|
|
<Checkbox />选项二 |
|
|
</label> |
|
|
</label> |
|
|
<label className="ant-checkbox-vertical"> |
|
|
<label className="ant-checkbox-vertical"> |
|
|
<Checkbox disabled />选项三(不可选) |
|
|
<Checkbox disabled />选项三(不可选) |
|
|
</label> |
|
|
</label> |
|
|
</FormItem> |
|
|
</FormItem> |
|
|
|
|
|
|
|
|
<FormItem |
|
|
<FormItem |
|
|
label="Checkbox 多选框:" |
|
|
label="Checkbox 多选框:" |
|
|
labelCol={{ span: 6 }} |
|
|
labelCol={{ span: 6 }} |
|
|
wrapperCol={{ span: 18 }} > |
|
|
wrapperCol={{ span: 18 }} > |
|
|
<label className="ant-checkbox-inline"> |
|
|
<label className="ant-checkbox-inline"> |
|
|
<Checkbox />选项一 |
|
|
<Checkbox />选项一 |
|
|
</label> |
|
|
</label> |
|
|
<label className="ant-checkbox-inline"> |
|
|
<label className="ant-checkbox-inline"> |
|
|
<Checkbox />选项二 |
|
|
<Checkbox />选项二 |
|
|
</label> |
|
|
</label> |
|
|
<label className="ant-checkbox-inline"> |
|
|
<label className="ant-checkbox-inline"> |
|
|
<Checkbox />选项三 |
|
|
<Checkbox />选项三 |
|
|
</label> |
|
|
</label> |
|
|
</FormItem> |
|
|
</FormItem> |
|
|
|
|
|
|
|
|
<FormItem |
|
|
<FormItem |
|
|
label="Radio 单选框:" |
|
|
label="Radio 单选框:" |
|
|
labelCol={{ span: 6 }} |
|
|
labelCol={{ span: 6 }} |
|
|
wrapperCol={{ span: 18 }} > |
|
|
wrapperCol={{ span: 18 }} > |
|
|
<RadioGroup value="b"> |
|
|
<RadioGroup> |
|
|
<Radio value="a">A</Radio> |
|
|
<Radio value="a">A</Radio> |
|
|
<Radio value="b">B</Radio> |
|
|
<Radio value="b">B</Radio> |
|
|
<Radio value="c">C</Radio> |
|
|
<Radio value="c">C</Radio> |
|
|
<Radio value="d">D</Radio> |
|
|
<Radio value="d">D</Radio> |
|
|
</RadioGroup> |
|
|
</RadioGroup> |
|
|
</FormItem> |
|
|
</FormItem> |
|
|
</Form> |
|
|
</Form> |
|
|
, mountNode); |
|
|
, mountNode); |
|
|