mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-12 15:19:58 +08:00
19 lines
330 B
Markdown
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);
|
|
````
|