mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-11 13:59:11 +08:00
451d2f6ee2
* feat(popconfirm): make title bold and add description prop * feat(popconfirm): make title bold and add description prop(update demos) * feat(popconfirm): make title bold and add description prop(the update of demos translation) * feat(popconfirm): make title bold and add description prop(the update of snapshot) * feat(popconfirm): make title bold and add description prop(the update of popconfirm md) * feat(popconfirm): make title bold and add description prop(the update of popconfirm md)2 * feat(popconfirm): make title bold and add description prop(run all test.ts.snaps and update popconfirm)
19 lines
451 B
TypeScript
19 lines
451 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 }}
|
|
/>
|
|
</>
|
|
);
|
|
|
|
export default App;
|