"use strict";

var _button = _interopRequireDefault(require("../../button"));

var _ = _interopRequireDefault(require(".."));

var _react = _interopRequireDefault(require("react"));

var _reactDom = _interopRequireDefault(require("react-dom"));

function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }

var openNotification = function openNotification() {
  var args = {
    title: 'Notification Title',
    content: 'I will never close automatically. I will be close automatically. I will never close automatically.',
    icon: 'smile'
  };

  _["default"].open(args);
};

_reactDom["default"].render( /*#__PURE__*/_react["default"].createElement("div", null, /*#__PURE__*/_react["default"].createElement(_button["default"], {
  type: "primary",
  onClick: openNotification,
  style: {
    marginLeft: 20
  }
}, "Open Notification")), document.getElementById('notification-demo-4'));