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

16 lines
243 B
Markdown
Raw Normal View History

2015-05-21 20:36:13 +08:00
# 基本
2015-05-27 20:41:16 +08:00
- order: 0
2015-06-02 17:20:02 +08:00
最简单的用法。
2015-05-21 20:36:13 +08:00
---
````jsx
import { Datepicker } from 'antd';
2015-05-21 20:36:13 +08:00
2015-10-20 16:47:55 +08:00
ReactDOM.render(
<Datepicker defaultValue="2015-12-12" style={{width:500}} />
2015-05-21 20:36:13 +08:00
, document.getElementById('components-datepicker-demo-basic'));
````