mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-03 00:09:39 +08:00
f654b6cce0
* refactor: move popconfirm content out * fix: lint * chore: use locale
32 lines
605 B
Markdown
32 lines
605 B
Markdown
---
|
|
order: 999
|
|
title:
|
|
zh-CN: _InternalPanelDoNotUseOrYouWillBeFired
|
|
en-US: _InternalPanelDoNotUseOrYouWillBeFired
|
|
debug: true
|
|
---
|
|
|
|
## zh-CN
|
|
|
|
调试用组件,请勿直接使用。
|
|
|
|
## en-US
|
|
|
|
Debug usage. Do not use in your production.
|
|
|
|
```tsx
|
|
import { Popconfirm } from 'antd';
|
|
import React from 'react';
|
|
|
|
const { _InternalPanelDoNotUseOrYouWillBeFired: InternalPopconfirm } = Popconfirm;
|
|
|
|
const App: React.FC = () => (
|
|
<>
|
|
<InternalPopconfirm title="Are you OK?" />
|
|
<InternalPopconfirm title="Are you OK?" placement="bottomRight" style={{ width: 250 }} />
|
|
</>
|
|
);
|
|
|
|
export default App;
|
|
```
|