mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-15 08:59:15 +08:00
74d5718ee7
* demo: update popconfirm demo * demo: update snapshot
21 lines
604 B
TypeScript
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;
|