mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-15 17:19:11 +08:00
fb4029c17f
Co-authored-by: star <a@qqfav.com>
16 lines
316 B
TypeScript
16 lines
316 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 type="link">Delete</Button>
|
|
</Popconfirm>
|
|
);
|
|
|
|
export default App;
|