You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ant-design/components/popconfirm/demo/render-panel.tsx

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;