mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-26 01:42:30 +08:00
19 lines
327 B
Markdown
19 lines
327 B
Markdown
# 不可用
|
|
|
|
- order: 1
|
|
|
|
checkbox 不可用。
|
|
|
|
---
|
|
|
|
````jsx
|
|
var Checkbox = antd.Checkbox;
|
|
var container = document.getElementById('components-checkbox-demo-disable');
|
|
|
|
React.render(<div>
|
|
<Checkbox defaultChecked={false} disabled={true}/>
|
|
<br />
|
|
<Checkbox defaultChecked={true} disabled={true}/>
|
|
</div>, container);
|
|
````
|