ant-design/components/checkbox/demo/disabled.md
2022-05-21 22:14:15 +08:00

30 lines
363 B
Markdown

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