mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-02 15:59:38 +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;
|