import{jsx as r}from"react/jsx-runtime";import{makeStyles as o}from"@material-ui/core";var t=o({root:{position:"absolute",left:0,top:0,width:"100%",height:"100%",border:"none"}}),e=function(o){var e,i=o.fileUrl,l=o.fileName,a=t(),m=i?null===(e=i.match(/^(.*?)(?=\?|$)/))||void 0===e?void 0:e[0]:null;return r("iframe",{className:a.root,title:l,src:m})};export{e as PdfViewer};
