ant-design/components/time-picker/demo/interval-options.md
afc163 23caba1b65 Upgrade rc-time-picker to 3.0.0
Add `hourStep` `minuteStep` `secondStep`
2017-10-28 15:01:54 +08:00

22 lines
371 B
Markdown

---
order: 5
title:
zh-CN: 步长选项
en-US: interval option
---
## zh-CN
可以使用 `hourStep` `minuteStep` `secondStep` 按步长展示可选的时分秒。
## en-US
Show stepped options by `hourStep` `minuteStep` `secondStep`.
````jsx
import { TimePicker } from 'antd';
ReactDOM.render(
<TimePicker minuteStep={15} secondStep={10} />
, mountNode);
````