mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-13 23:59:12 +08:00
36 lines
646 B
Markdown
36 lines
646 B
Markdown
---
|
|
order: 99
|
|
title:
|
|
zh-CN: _InternalPanelDoNotUseOrYouWillBeFired
|
|
en-US: _InternalPanelDoNotUseOrYouWillBeFired
|
|
debug: true
|
|
---
|
|
|
|
## zh-CN
|
|
|
|
调试用组件,请勿直接使用。
|
|
|
|
## en-US
|
|
|
|
Debug usage. Do not use in your production.
|
|
|
|
```tsx
|
|
import { Button, notification } from 'antd';
|
|
|
|
/** Test usage. Do not use in your production. */
|
|
const { _InternalPanelDoNotUseOrYouWillBeFired: InternalPanel } = notification;
|
|
|
|
export default () => (
|
|
<InternalPanel
|
|
message="Hello World!"
|
|
description="Hello World?"
|
|
type="success"
|
|
btn={
|
|
<Button type="primary" size="small">
|
|
My Button
|
|
</Button>
|
|
}
|
|
/>
|
|
);
|
|
```
|