mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-12-16 01:41:02 +08:00
28 lines
344 B
Markdown
28 lines
344 B
Markdown
|
---
|
||
|
order: 13
|
||
|
title:
|
||
|
zh-CN: 范围选择器
|
||
|
en-US: Range Picker
|
||
|
---
|
||
|
|
||
|
## zh-CN
|
||
|
|
||
|
通过 `RangePicker` 使用时间范围选择器。
|
||
|
|
||
|
## en-US
|
||
|
|
||
|
Use time range picker with `RangePicker`.
|
||
|
|
||
|
```jsx
|
||
|
import { TimePicker } from 'antd';
|
||
|
|
||
|
const { RangePicker } = TimePicker;
|
||
|
|
||
|
ReactDOM.render(
|
||
|
<div>
|
||
|
<RangePicker />
|
||
|
</div>,
|
||
|
mountNode,
|
||
|
);
|
||
|
```
|