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