mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-21 21:28:09 +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;
|