ant-design/components/checkbox/demo/disable.md

24 lines
349 B
Markdown
Raw Normal View History

2015-07-15 15:19:24 +08:00
# 不可用
- order: 1
checkbox 不可用
---
````jsx
var Checkbox = antd.Checkbox;
var container = document.getElementById('components-checkbox-demo-disable');
React.render(
<ul>
<li>
2015-07-16 12:16:56 +08:00
<Checkbox defaultChecked={false} disabled={true}/>
2015-07-15 15:19:24 +08:00
</li>
<li>
2015-07-16 12:16:56 +08:00
<Checkbox defaultChecked={true} disabled={true}/>
2015-07-15 15:19:24 +08:00
</li>
</ul>
, container);
````