ant-design/components/time-picker/demo/interval-options.md

21 lines
366 B
Markdown
Raw Normal View History

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