mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-20 04:24:29 +08:00
25 lines
317 B
Markdown
25 lines
317 B
Markdown
---
|
|
order: 1
|
|
title:
|
|
zh-CN: 不可用
|
|
en-US: Disabled
|
|
---
|
|
|
|
## zh-CN
|
|
|
|
checkbox 不可用。
|
|
|
|
## en-US
|
|
|
|
Disabled checkbox.
|
|
|
|
````__react
|
|
import { Checkbox } from 'antd';
|
|
|
|
ReactDOM.render(<div>
|
|
<Checkbox defaultChecked={false} disabled />
|
|
<br />
|
|
<Checkbox defaultChecked disabled />
|
|
</div>, mountNode);
|
|
````
|