mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-25 08:43:57 +08:00
14 lines
460 B
TypeScript
14 lines
460 B
TypeScript
|
import React from 'react';
|
||
|
import { DatePicker, Space } from 'antd';
|
||
|
|
||
|
const App: React.FC = () => (
|
||
|
<Space direction="vertical" style={{ width: '100%' }}>
|
||
|
<DatePicker status="error" style={{ width: '100%' }} />
|
||
|
<DatePicker status="warning" style={{ width: '100%' }} />
|
||
|
<DatePicker.RangePicker status="error" style={{ width: '100%' }} />
|
||
|
<DatePicker.RangePicker status="warning" style={{ width: '100%' }} />
|
||
|
</Space>
|
||
|
);
|
||
|
|
||
|
export default App;
|