mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-15 08:59:15 +08:00
14 lines
436 B
TypeScript
14 lines
436 B
TypeScript
|
import React from 'react';
|
||
|
import { ConfigProvider, Popconfirm } from 'antd';
|
||
|
|
||
|
const { _InternalPanelDoNotUseOrYouWillBeFired: InternalPopconfirm } = Popconfirm;
|
||
|
|
||
|
const App: React.FC = () => (
|
||
|
<ConfigProvider theme={{ token: { wireframe: true } }}>
|
||
|
<InternalPopconfirm title="Are you OK?" />
|
||
|
<InternalPopconfirm title="Are you OK?" placement="bottomRight" style={{ width: 250 }} />
|
||
|
</ConfigProvider>
|
||
|
);
|
||
|
|
||
|
export default App;
|