ant-design/components/time-picker/demo/without-seconds.md

16 lines
268 B
Markdown
Raw Normal View History

# 不展示秒
2015-12-16 17:29:28 +08:00
- 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'));
````