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