"use strict";var r=require("react/jsx-runtime"),t=require("../containers/button.js");require("../containers/card.js"),require("../../lib/cn.js"),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 c=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 a=({src:e,alt:i})=>r.jsx("div",{className:"rounded-2xl overflow-hidden",children:r.jsx("img",{src:e,alt:i,className:"object-cover"})}),l=e=>{const{src:i,onPress:s,alt:u}=e,q=c.useCallback(()=>{s?.()},[s]);return s?r.jsx(t.ButtonContainer,{className:"hover:shadow-[0_6px_8px_2px_rgba(0,0,0,.18)]",borderRadius:"1rem",onPress:q,...e,children:r.jsx(a,{src:i,alt:u})}):r.jsx(a,{src:i,alt:u})};exports.NFTTile=l;
//# sourceMappingURL=nft-tile.js.map
