"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.Standalone = exports["default"] = void 0;

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

var _addonActions = require("@storybook/addon-actions");

var _index = require("./index");

var _toast = _interopRequireDefault(require("./toast.mdx"));

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

var _default = {
  title: 'Components/Overlays/Toast',
  component: _index.Toast,
  parameters: {
    docs: {
      page: _toast["default"]
    }
  }
};
exports["default"] = _default;

var Standalone = function Standalone() {
  return /*#__PURE__*/_react["default"].createElement(_index.Toast, {
    id: "toastId",
    onClose: (0, _addonActions.action)('Toast closed'),
    timerDelay: 10000
  }, "Something amazing I guess");
};

exports.Standalone = Standalone;