mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-14 16:19:15 +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;
|