mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-24 11:10:01 +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;
|