ant-design/components/checkbox/demo/disable.md

18 lines
287 B
Markdown
Raw Normal View History

# 不可用
2015-07-15 15:19:24 +08:00
- order: 1
2015-07-16 14:34:42 +08:00
checkbox 不可用。
2015-07-15 15:19:24 +08:00
---
````jsx
import { Checkbox } from 'antd';
2015-07-15 15:19:24 +08:00
2015-10-20 16:47:55 +08:00
ReactDOM.render(<div>
2015-11-25 17:47:55 +08:00
<Checkbox defaultChecked={false} disabled />
2015-07-16 14:34:42 +08:00
<br />
2015-11-25 17:47:55 +08:00
<Checkbox defaultChecked disabled />
2015-12-16 15:25:15 +08:00
</div>, document.getElementById('components-checkbox-demo-disable'));
2015-07-15 15:19:24 +08:00
````