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

17 lines
247 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
2015-07-01 17:25:16 +08:00
// or require('antd/components/datepicker');
2015-06-09 14:50:55 +08:00
var Datepicker = antd.Datepicker;
2015-05-21 20:36:13 +08:00
React.render(
2015-05-29 21:28:01 +08:00
<Datepicker value="" />
2015-05-21 20:36:13 +08:00
, document.getElementById('components-datepicker-demo-basic'));
````