ant-design/components/time-picker/demo/interval-options.md
MadCcc 6776bb8916
docs: demo support react18 (#34843)
* docs: update demo

* chore: add script

* test: fix demo test

* docs: convert demos

* chore: move script

* test: remove react-dom import

* chore: update deps

* docs: update riddle js

* test: fix image test

* docs: fix riddle demo
2022-04-03 23:27:45 +08:00

21 lines
359 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';
export default () => <TimePicker minuteStep={15} secondStep={10} />;
```