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