|
|
@ -15,6 +15,7 @@ var Switch = antd.Switch; |
|
|
|
var Menu = antd.Menu; |
|
|
|
var Dropdown = antd.Dropdown; |
|
|
|
var Slider = antd.Slider; |
|
|
|
var Checkbox = antd.Checkbox; |
|
|
|
|
|
|
|
var menu = <Menu> |
|
|
|
<Menu.Item> |
|
|
@ -84,7 +85,7 @@ React.render( |
|
|
|
<div className="col-16"> |
|
|
|
<div className="ant-input-group"> |
|
|
|
<input type="text" className="ant-input" id="site4" placeholder="Search for..." /> |
|
|
|
<div className="ant-input-group-btn"> |
|
|
|
<div className="ant-input-group-btn"> |
|
|
|
<Dropdown overlay={menu}> |
|
|
|
<button className="ant-btn ant-btn-menu"> |
|
|
|
.com <i className="anticon anticon-down"></i> |
|
|
@ -103,7 +104,9 @@ React.render( |
|
|
|
<div className="ant-form-item"> |
|
|
|
<label for="" className="col-6" required>ant-checkbox:</label> |
|
|
|
<div className="col-10"> |
|
|
|
<p className="ant-form-text">请填写 ant-design 的 checkbox</p> |
|
|
|
<p className="ant-form-text"> |
|
|
|
<Checkbox /> |
|
|
|
</p> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div className="ant-form-item"> |
|
|
@ -135,4 +138,4 @@ React.render( |
|
|
|
</div> |
|
|
|
</form> |
|
|
|
, document.getElementById('components-form-demo-mix')); |
|
|
|
```` |
|
|
|
```` |
|
|
|