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

23 lines
373 B
Markdown
Raw Normal View History

---
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(
2018-06-27 15:55:04 +08:00
<TimePicker minuteStep={15} secondStep={10} />,
2018-11-28 15:00:03 +08:00
mountNode
);
````