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