mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-12-04 13:08:41 +08:00
18 lines
402 B
TypeScript
18 lines
402 B
TypeScript
|
import React from 'react';
|
||
|
import { DatePicker, Space } from 'antd';
|
||
|
|
||
|
const { RangePicker } = DatePicker;
|
||
|
|
||
|
const App: React.FC = () => (
|
||
|
<Space direction="vertical" size={12}>
|
||
|
<RangePicker />
|
||
|
<RangePicker showTime />
|
||
|
<RangePicker picker="week" />
|
||
|
<RangePicker picker="month" />
|
||
|
<RangePicker picker="quarter" />
|
||
|
<RangePicker picker="year" />
|
||
|
</Space>
|
||
|
);
|
||
|
|
||
|
export default App;
|