ant-design/components/time-picker/demo/without-seconds.md
2015-12-16 17:29:28 +08:00

16 lines
268 B
Markdown

# 不展示秒
- order: 3
不展示秒,也不允许选择。
---
````jsx
import { TimePicker } from 'antd';
ReactDOM.render(
<TimePicker defaultValue="12:08:23" format="HH:mm" />
, document.getElementById('components-time-picker-demo-without-seconds'));
````