/* preview-render 通知提醒框 Notification */
import * as React from 'react';
import * as ReactDOM from 'react-dom';
import { notification,Button } from "antd";
export default function previewRender(dom) {
  return ReactDOM.render(<Button onClick={() => { notification.open({
    message: 'Notification Title',
    description:
      'This is the content of the notification. This is the content of the notification. This is the content of the notification.',
    onClick: () => {
      console.log('Notification Clicked!');
    },
  }) }}>点击提示</Button>, dom);
};