mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-14 16:19:15 +08:00
268 B
268 B
不展示秒
- order: 3
不展示秒,也不允许选择。
import { TimePicker } from 'antd';
ReactDOM.render(
<TimePicker defaultValue="12:08:23" format="HH:mm" />
, document.getElementById('components-time-picker-demo-without-seconds'));