"use strict";var r=require("react/jsx-runtime"),c=require("../containers/button.js");require("../containers/card.js");var a=require("@styled/css"),o=require("@styled/jsx");require("@styled/tokens"),require("../primitives/button.js"),require("../primitives/checkbox.js"),require("../primitives/dropdown-selector.js"),require("../primitives/popover.js"),require("../primitives/radio.js"),require("../primitives/segmented-control.js"),require("../primitives/switch.js"),require("../primitives/text.js");var l=require("react");require("../utils/client-asset-logo.js"),require("react-qrcode-logo"),require("../utils/secured-by-magic.js"),require("../containers/header.js"),require("../containers/menu.js"),require("../containers/modal.js"),require("../containers/overlay.js");const q=({src:e,alt:i})=>r.jsx(o.Box,{rounded:"2xl",overflow:"hidden",children:r.jsx("img",{src:e,alt:i,className:a.css({objectFit:"cover"})})}),n=e=>{const{src:i,onPress:s,alt:u}=e,t=l.useCallback(()=>{s?.()},[s]);return s?r.jsx(c.ButtonContainer,{className:a.css({_hover:{boxShadow:"0 6px 8px 2px rgba(0, 0, 0, .18)"}}),borderRadius:"1rem",onPress:t,...e,children:r.jsx(q,{src:i,alt:u})}):r.jsx(q,{src:i,alt:u})};exports.NFTTile=n;
//# sourceMappingURL=nft-tile.js.map
