mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-16 09:39:10 +08:00
267 B
267 B
不展示秒
- order: 2
不展示秒,也不允许选择。
import { Timepicker } from 'antd';
ReactDOM.render(
<Timepicker defaultValue="12:08:23" format="HH:mm" />
, document.getElementById('components-timepicker-demo-without-seconds'));