You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

30 lines
363 B

---
order: 1
title:
zh-CN: 不可用
en-US: Disabled
---
10 years ago
## zh-CN
checkbox 不可用。
10 years ago
## en-US
Disabled checkbox.
```tsx
import { Checkbox } from 'antd';
import React from 'react';
10 years ago
const App: React.FC = () => (
<>
<Checkbox defaultChecked={false} disabled />
<br />
<Checkbox defaultChecked disabled />
</>
);
export default App;
```