mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-11 23:00:20 +08:00
12 lines
318 B
TypeScript
12 lines
318 B
TypeScript
|
import React from 'react';
|
|||
|
import { QuestionCircleOutlined } from '@ant-design/icons';
|
|||
|
import { Popconfirm } from 'antd';
|
|||
|
|
|||
|
const App: React.FC = () => (
|
|||
|
<Popconfirm title="Are you sure?" icon={<QuestionCircleOutlined style={{ color: 'red' }} />}>
|
|||
|
<a href="#">Delete</a>
|
|||
|
</Popconfirm>
|
|||
|
);
|
|||
|
|
|||
|
export default App;
|