mirror of
https://github.com/ant-design/ant-design.git
synced 2025-01-07 20:08:21 +08:00
ec21769ec0
* chore: Notification add purePanel * test: Update snapshot * test: Update snapshot
634 B
634 B
order | title | debug | ||||
---|---|---|---|---|---|---|
99 |
|
true |
zh-CN
调试用组件,请勿直接使用。
en-US
Debug usage. Do not use in your production.
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>
}
/>
);