import Button from '../../button';
import Notification from '..';
import React from 'react';
import ReactDOM from 'react-dom';
const openNotification = () => {
    Notification.open({
        title: 'Notification Title',
        content: '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!');
        },
    });
};
ReactDOM.render(React.createElement(Button, { type: "primary", onClick: openNotification }, "Open Notification"), document.getElementById('notification-demo-1'));
