mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-12-02 12:09:14 +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;
|