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

25 lines
317 B
Markdown
Raw Normal View History

2016-03-31 09:40:55 +08:00
---
order: 1
2016-08-18 11:22:55 +08:00
title:
zh-CN: 不可用
en-US: Disabled
2016-03-31 09:40:55 +08:00
---
2015-07-15 15:19:24 +08:00
2016-08-18 11:22:55 +08:00
## zh-CN
2015-07-16 14:34:42 +08:00
checkbox 不可用。
2015-07-15 15:19:24 +08:00
2016-08-18 11:22:55 +08:00
## en-US
Disabled checkbox.
2017-01-19 15:19:03 +08:00
````__react
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 />
</div>, mountNode);
2015-07-15 15:19:24 +08:00
````