import{__assign as i}from'./../../ext-esm/tslib/tslib.es6.js';import{jsx as o}from"react/jsx-runtime";import r from"@material-ui/core/Snackbar";import{Toast as t}from"./Toast.js";var n=function(n){var a=n.notifications,e=n.removeNotification;return o(r,i({anchorOrigin:{vertical:"top",horizontal:"right"},open:!0,ClickAwayListenerProps:{onClickAway:function(i){return i.stopPropagation()}}},{children:o("div",{children:a.map((function(i){return o(t,{onDismissClick:e,toast:i},i.id)}))})}))};export{n as Notifications};
