import e from"react";import{RiCloseLine as r}from"../../node_modules/react-icons/ri/index.esm.js";import o from"../../node_modules/@material-ui/core/esm/Snackbar/Snackbar.js";import t from"../../node_modules/@material-ui/lab/esm/Alert/Alert.js";import a from"../../node_modules/@material-ui/core/esm/IconButton/IconButton.js";export default function(n){var i=n.message,l=n.setErrorMessage,m=function(e,r){"clickaway"!==r&&l(void 0)};return e.createElement(o,{anchorOrigin:{horizontal:"center",vertical:"top"},open:null!=i,autoHideDuration:6e3,onClose:m},e.createElement(t,{severity:"error",action:e.createElement(a,{size:"small","aria-label":"close",color:"inherit",onClick:m},e.createElement(r,null))},i))}
//# sourceMappingURL=ErrorToastMessage.js.map
