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

17 lines
262 B
Markdown
Raw Normal View History

2015-05-29 21:07:46 +08:00
# 时间选择
- order: 4
2015-06-02 17:20:02 +08:00
准确到秒的时间选择面板。
2015-05-29 21:07:46 +08:00
---
````jsx
2015-06-09 14:50:55 +08:00
var Datepicker = antd.Datepicker;
2015-05-29 21:07:46 +08:00
2015-10-20 16:47:55 +08:00
ReactDOM.render(
2015-06-17 21:20:43 +08:00
<Datepicker showTime={true} format="yyyy-MM-dd HH:mm:ss" />
2015-05-29 21:07:46 +08:00
, document.getElementById('components-datepicker-demo-time'));
````