mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-21 13:18:04 +08:00
4c91896abb
* refactor: use token instead of constant in size * fix: fix * fix: fix * test: update snap * fix: update snap * test: fix test case * fix: fix * fix: fix * fix: fix * fix: fix tast cov * fix: fix test case * chore: add comment * chore: add comment * chore: add comment * chore: rename * chore: rename * fix: fix test case * fix: fix test case * fix: fix * fix: fix * fix: fix * fix: fix * test: add test case * fix: fix * test: update snap * fix: fix * fix: fix * test: update * test: update * chore: fix * fix: type * test: remove test
19 lines
492 B
TypeScript
19 lines
492 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 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;
|