mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-12 23:35:38 +08:00
2cdf586291
* chore: fix lint * chore: fix lint * test: fix 16 * fix: lint
19 lines
492 B
TypeScript
19 lines
492 B
TypeScript
import { UploadOutlined } from '@ant-design/icons';
|
|
import React from 'react';
|
|
import { Button, Popconfirm, Space, Upload } from 'antd';
|
|
|
|
const App: React.FC = () => (
|
|
<Space>
|
|
Space
|
|
<Button type="primary">Button</Button>
|
|
<Upload>
|
|
<Button icon={<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;
|