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

16 lines
243 B
Markdown
Raw Normal View History

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