2015-11-25 17:47:55 +08:00
|
|
|
不可用
|
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
|
2015-10-28 20:55:49 +08:00
|
|
|
import { Checkbox } from 'antd';
|
|
|
|
const container = document.getElementById('components-checkbox-demo-disable');
|
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-07-16 14:34:42 +08:00
|
|
|
</div>, container);
|
2015-07-15 15:19:24 +08:00
|
|
|
````
|