ant-design/components/date-picker/demo/disabled.md

24 lines
335 B
Markdown
Raw Normal View History

2016-03-31 09:40:55 +08:00
---
order: 5
2016-06-19 11:17:09 +08:00
title:
zh-CN: 禁用
en-US: Disabled
2016-03-31 09:40:55 +08:00
---
2016-06-19 11:17:09 +08:00
## zh-CN
选择框的不可用状态。
2016-06-19 11:17:09 +08:00
## en-US
A disabled state of the `DatePicker`.
````jsx
import { DatePicker } from 'antd';
import moment from 'moment';
ReactDOM.render(
<DatePicker defaultValue={moment('2015-06-06', 'YYYY-MM-DD')} disabled />
, mountNode);
````