mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-17 02:18:07 +08:00
24 lines
367 B
Markdown
24 lines
367 B
Markdown
---
|
|
order: 13
|
|
title:
|
|
zh-CN: 范围选择器
|
|
en-US: Time Range Picker
|
|
---
|
|
|
|
## zh-CN
|
|
|
|
通过 `TimePicker.RangePicker` 使用时间范围选择器。
|
|
|
|
## en-US
|
|
|
|
Use time range picker with `TimePicker.RangePicker`.
|
|
|
|
```tsx
|
|
import { TimePicker } from 'antd';
|
|
import React from 'react';
|
|
|
|
const App: React.FC = () => <TimePicker.RangePicker />;
|
|
|
|
export default App;
|
|
```
|