mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-12 23:35:38 +08:00
41ed9bd430
* feat: add semantic doc * 🔀 feat: rebase feature * feat: update for code reviewer * feat: update snap * feat: update snap * 🐛 bug: update for cov * Message * bug: update snap * 💄 style: update style * 💄 style: update style * 💄 style: update style * 💄 style: update style * 💄 style: update style * 💄 style: update style * ♻️ feat: ref code * 🩺 feat: update for review * 💄 style: update style * 📝 doc: update doc * 💄 style: update style * 💄 style: update style * 💄 style: update style * 💄 style: update style * 💄 style: update style * 💄 style: update style * 💄 style: update style * 📸 feat:update snap * 🚧 feat: clean up * 🚧 feat: clean up * feat: icon wrapper * test: update snapshot * chore: code clean * fix: icon only font size * chore: rollback unexpected commit --------- Co-authored-by: MadCcc <1075746765@qq.com>
19 lines
492 B
TypeScript
19 lines
492 B
TypeScript
import { UploadOutlined } from '@ant-design/icons';
|
|
import { Button, Popconfirm, Space, Upload } from 'antd';
|
|
import React from 'react';
|
|
|
|
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;
|