ant-design/components/timepicker/demo/without-seconds.md

17 lines
270 B
Markdown
Raw Normal View History

2015-11-16 23:11:41 +08:00
不展示秒
====
- order: 2
不展示秒,也不允许选择。
---
````jsx
import { Timepicker } from 'antd';
2015-11-16 23:11:41 +08:00
ReactDOM.render(
<Timepicker defaultValue="12:08:23" format="HH:mm" />
2015-11-16 23:11:41 +08:00
, document.getElementById('components-timepicker-demo-without-seconds'));
````