mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-28 21:19:37 +08:00
23caba1b65
Add `hourStep` `minuteStep` `secondStep`
371 B
371 B
order | title | ||||
---|---|---|---|---|---|
5 |
|
zh-CN
可以使用 hourStep
minuteStep
secondStep
按步长展示可选的时分秒。
en-US
Show stepped options by hourStep
minuteStep
secondStep
.
import { TimePicker } from 'antd';
ReactDOM.render(
<TimePicker minuteStep={15} secondStep={10} />
, mountNode);