mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-11 22:41:17 +08:00
2cdf586291
* chore: fix lint * chore: fix lint * test: fix 16 * fix: lint
21 lines
604 B
TypeScript
21 lines
604 B
TypeScript
import React from 'react';
|
|
import { Popconfirm } from 'antd';
|
|
|
|
const { _InternalPanelDoNotUseOrYouWillBeFired: InternalPopconfirm } = Popconfirm;
|
|
|
|
const App: React.FC = () => (
|
|
<>
|
|
<InternalPopconfirm title="Are you OK?" description="Does this look good?" />
|
|
<InternalPopconfirm
|
|
title="Are you OK?"
|
|
description="Does this look good?"
|
|
placement="bottomRight"
|
|
style={{ width: 250 }}
|
|
/>
|
|
<InternalPopconfirm icon={null} title="Are you OK?" />
|
|
<InternalPopconfirm icon={null} title="Are you OK?" description="Does this look good?" />
|
|
</>
|
|
);
|
|
|
|
export default App;
|