mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-30 04:18:28 +08:00
380 B
380 B
特定选项
- order: 3
分钟只提供特定的选择,同时可以通过 hourOptions
和 secondOptions
对小时和秒进行特殊的限定。
import { Timepicker } from 'antd';
ReactDOM.render(
<Timepicker defaultValue="12:30:23" format="HH:mm" minuteOptions={[0, 30]} />
, document.getElementById('components-timepicker-demo-special-minutes'));