import React from 'react'; import { Button, message, Popconfirm } from 'antd'; const text = 'Are you sure to delete this task?'; const description = 'Delete the task'; const confirm = () => { message.info('Clicked on Yes.'); }; const App: React.FC = () => ( <>