mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-24 02:59:58 +08:00
7b3adcb5ae
* fix: wireframe style for popconfirm * chore: add demos
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;
|