"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require('./../../ext-esm/tslib/tslib.es6.js'),i=require("react/jsx-runtime"),t=require("@material-ui/core/Snackbar"),r=require("./Toast.js");function o(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var n=o(t);exports.Notifications=function(t){var o=t.notifications,s=t.removeNotification;return i.jsx(n.default,e.__assign({anchorOrigin:{vertical:"top",horizontal:"right"},open:!0,ClickAwayListenerProps:{onClickAway:function(e){return e.stopPropagation()}}},{children:i.jsx("div",{children:o.map((function(e){return i.jsx(r.Toast,{onDismissClick:s,toast:e},e.id)}))})}))};
