mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-15 17:19:11 +08:00
17 lines
548 B
TypeScript
17 lines
548 B
TypeScript
|
import React from 'react';
|
||
|
import { DatePicker, Space } from 'antd';
|
||
|
|
||
|
const { RangePicker } = DatePicker;
|
||
|
|
||
|
const App: React.FC = () => (
|
||
|
<Space direction="vertical" size={12}>
|
||
|
<DatePicker renderExtraFooter={() => 'extra footer'} />
|
||
|
<DatePicker renderExtraFooter={() => 'extra footer'} showTime />
|
||
|
<RangePicker renderExtraFooter={() => 'extra footer'} />
|
||
|
<RangePicker renderExtraFooter={() => 'extra footer'} showTime />
|
||
|
<DatePicker renderExtraFooter={() => 'extra footer'} picker="month" />
|
||
|
</Space>
|
||
|
);
|
||
|
|
||
|
export default App;
|