You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

17 lines
262 B

10 years ago
# 时间选择
- order: 4
准确到秒的时间选择面板。
10 years ago
---
````jsx
var Datepicker = antd.Datepicker;
10 years ago
9 years ago
ReactDOM.render(
<Datepicker showTime={true} format="yyyy-MM-dd HH:mm:ss" />
10 years ago
, document.getElementById('components-datepicker-demo-time'));
````