# 不可用

- order: 1

checkbox 不可用

---

````jsx
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);
````

{'avg_line_length': 16.791666666666668, 'max_line_length': 87, 'alphanum_fraction': 0.6451612903225806, 'licenses': ['MIT'], 'repository_name': 'ibigbug/ant-design', 'path': 'components/checkbox/demo/disable.md', 'size': 427, 'lang': 'Markdown'}