mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-06 02:15:35 +08:00
28 lines
316 B
Markdown
28 lines
316 B
Markdown
---
|
|
order: 1
|
|
title:
|
|
zh-CN: 不可用
|
|
en-US: Disabled
|
|
---
|
|
|
|
## zh-CN
|
|
|
|
checkbox 不可用。
|
|
|
|
## en-US
|
|
|
|
Disabled checkbox.
|
|
|
|
```jsx
|
|
import { Checkbox } from 'antd';
|
|
|
|
ReactDOM.render(
|
|
<>
|
|
<Checkbox defaultChecked={false} disabled />
|
|
<br />
|
|
<Checkbox defaultChecked disabled />
|
|
</>,
|
|
mountNode,
|
|
);
|
|
```
|