ant-design/components/checkbox/demo/disable.md
2015-10-20 16:47:55 +08:00

19 lines
330 B
Markdown

# 不可用
- order: 1
checkbox 不可用。
---
````jsx
var Checkbox = antd.Checkbox;
var container = document.getElementById('components-checkbox-demo-disable');
ReactDOM.render(<div>
<Checkbox defaultChecked={false} disabled={true}/>
<br />
<Checkbox defaultChecked={true} disabled={true}/>
</div>, container);
````