mirror of
https://github.com/ant-design/ant-design.git
synced 2026-02-09 02:49:18 +08:00
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: thinkasany <480968828@qq.com> Co-authored-by: afc163 <afc163@gmail.com>
25 lines
547 B
TypeScript
25 lines
547 B
TypeScript
import React from 'react';
|
|
import { Button, Popconfirm, Space } from 'antd';
|
|
|
|
const App: React.FC = () => (
|
|
<Space>
|
|
Button
|
|
<Button>Button</Button>
|
|
Button
|
|
<Popconfirm title="Are you sure delete this task?" okText="Yes" cancelText="No">
|
|
<Button>Delete</Button>
|
|
</Popconfirm>
|
|
<Popconfirm title="Are you sure delete this task?" okText="Yes" cancelText="No">
|
|
<Button disabled>Delete</Button>
|
|
</Popconfirm>
|
|
{null}
|
|
{false}
|
|
{1}
|
|
Button
|
|
{null}
|
|
{undefined}
|
|
</Space>
|
|
);
|
|
|
|
export default App;
|