mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-04 08:59:40 +08:00
427 B
427 B
不可用
- order: 1
checkbox 不可用
var Checkbox = antd.Checkbox;
var container = document.getElementById('components-checkbox-demo-disable');
React.render(
<ul>
<li>
<Checkbox defaultChecked={false} disabled={true} label={"checkbox"} label={"不可用"}/>
</li>
<li>
<Checkbox defaultChecked={true} disabled={true} label={"checkbox"} label={"不可用"}/>
</li>
</ul>
, container);