import r,{useState as t}from"react";var e=function(e){var n=e.src,a=e.width,o=t(!1),l=o[0],c=o[1],i=t(!1),m=i[0],u=i[1];return r.createElement(r.Fragment,null,r.createElement("img",{src:n,alt:"",width:a,onLoad:function(){c(!0)},onError:function(){u(!0)}}),l||m?"":r.createElement("small",null,"Loading"))};export{e as LibraryImagePreview};
//# sourceMappingURL=LibraryImagePreview.js.map
