mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-15 17:19:11 +08:00
21 lines
501 B
TypeScript
21 lines
501 B
TypeScript
|
import React from 'react';
|
||
|
import { UploadOutlined } from '@ant-design/icons';
|
||
|
import { Button, Popconfirm, Space, Upload } from 'antd';
|
||
|
|
||
|
const App: React.FC = () => (
|
||
|
<Space>
|
||
|
Space
|
||
|
<Button type="primary">Button</Button>
|
||
|
<Upload>
|
||
|
<Button>
|
||
|
<UploadOutlined /> Click to Upload
|
||
|
</Button>
|
||
|
</Upload>
|
||
|
<Popconfirm title="Are you sure delete this task?" okText="Yes" cancelText="No">
|
||
|
<Button>Confirm</Button>
|
||
|
</Popconfirm>
|
||
|
</Space>
|
||
|
);
|
||
|
|
||
|
export default App;
|