2022-06-08 17:01:26 +08:00
|
|
|
---
|
|
|
|
order: 99
|
|
|
|
title:
|
2022-06-13 17:55:00 +08:00
|
|
|
zh-CN: _InternalPanelDoNotUseOrYouWillBeFired
|
|
|
|
en-US: _InternalPanelDoNotUseOrYouWillBeFired
|
2022-06-08 17:01:26 +08:00
|
|
|
debug: true
|
|
|
|
---
|
|
|
|
|
|
|
|
## zh-CN
|
|
|
|
|
|
|
|
调试用组件,请勿直接使用。
|
|
|
|
|
|
|
|
## en-US
|
|
|
|
|
|
|
|
Debug usage. Do not use in your production.
|
|
|
|
|
|
|
|
```tsx
|
2022-06-13 17:55:00 +08:00
|
|
|
import { Button, notification } from 'antd';
|
2022-06-08 17:01:26 +08:00
|
|
|
|
|
|
|
/** Test usage. Do not use in your production. */
|
2022-06-13 17:55:00 +08:00
|
|
|
const { _InternalPanelDoNotUseOrYouWillBeFired: InternalPanel } = notification;
|
2022-06-08 17:01:26 +08:00
|
|
|
|
|
|
|
export default () => (
|
|
|
|
<InternalPanel
|
|
|
|
message="Hello World!"
|
|
|
|
description="Hello World?"
|
|
|
|
type="success"
|
|
|
|
btn={
|
|
|
|
<Button type="primary" size="small">
|
|
|
|
My Button
|
|
|
|
</Button>
|
|
|
|
}
|
|
|
|
/>
|
|
|
|
);
|
|
|
|
```
|