import Button from '../../button';
import Notification from '..';
import React from 'react';
import ReactDOM from 'react-dom';
const openNotification = () => {
    const args = {
        title: 'Notification Title',
        content: 'I will never close automatically. I will be close automatically. I will never close automatically.',
        icon: 'smile',
    };
    Notification.open(args);
};
ReactDOM.render(React.createElement("div", null,
    React.createElement(Button, { type: "primary", onClick: openNotification, style: { marginLeft: 20 } }, "Open Notification")), document.getElementById('notification-demo-4'));
