mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-21 04:48:02 +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;
|