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

16 lines
251 B
Markdown
Raw Normal View History

2015-07-08 14:55:05 +08:00
# 禁用
- order: 5
选择框的不可用状态。
---
````jsx
import { Datepicker } from 'antd';
2015-07-08 14:55:05 +08:00
2015-10-20 16:47:55 +08:00
ReactDOM.render(
2015-10-22 17:16:02 +08:00
<Datepicker defaultValue="2015-06-06" disabled={true} />
2015-07-08 14:55:05 +08:00
, document.getElementById('components-datepicker-demo-disabled'));
````