mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-21 21:28:09 +08:00
2cdf586291
* chore: fix lint * chore: fix lint * test: fix 16 * fix: lint
16 lines
311 B
TypeScript
16 lines
311 B
TypeScript
import React from 'react';
|
|
import { Button, Popconfirm } from 'antd';
|
|
|
|
const App: React.FC = () => (
|
|
<Popconfirm
|
|
title="Delete the task"
|
|
description="Are you sure to delete this task?"
|
|
okText="Yes"
|
|
cancelText="No"
|
|
>
|
|
<Button danger>Delete</Button>
|
|
</Popconfirm>
|
|
);
|
|
|
|
export default App;
|