"use strict";

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

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

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

var _2 = require("../..");

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

var showSuccess = function showSuccess() {
  return _["default"].success({
    title: 'success'
  });
};

_reactDom["default"].render( /*#__PURE__*/_react["default"].createElement("div", {
  className: "message-toast-quick-demo"
}, /*#__PURE__*/_react["default"].createElement(_2.Button, {
  type: "primary",
  onClick: showSuccess
}, "success")), document.getElementById('message-demo-6'));