ant-design/components/popconfirm/demo/render-panel.tsx
afc163 74d5718ee7
demo: update popconfirm demo (#42429)
* demo: update popconfirm demo

* demo: update snapshot
2023-05-17 12:00:49 +08:00

21 lines
604 B
TypeScript

import { Popconfirm } from 'antd';
import React from 'react';
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;