mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-12-02 20:19:44 +08:00
19 lines
422 B
TypeScript
19 lines
422 B
TypeScript
import React from 'react';
|
|
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>
|
|
}
|
|
/>
|
|
);
|