mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-03 00:09:39 +08:00
17 lines
402 B
TypeScript
17 lines
402 B
TypeScript
|
import React from 'react';
|
||
|
import { Space, TreeSelect } from 'antd';
|
||
|
|
||
|
const App: React.FC = () => (
|
||
|
<Space direction="vertical" style={{ width: '100%' }}>
|
||
|
<TreeSelect status="error" style={{ width: '100%' }} placeholder="Error" />
|
||
|
<TreeSelect
|
||
|
status="warning"
|
||
|
style={{ width: '100%' }}
|
||
|
multiple
|
||
|
placeholder="Warning multiple"
|
||
|
/>
|
||
|
</Space>
|
||
|
);
|
||
|
|
||
|
export default App;
|