mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-30 20:38:45 +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>
|
|
}
|
|
/>
|
|
);
|