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