import{jsx as r}from"react/jsx-runtime";import{ButtonContainer as e}from"../containers/button.js";import"../containers/card.js";import"../../lib/cn.js";import"../primitives/button.js";import"../primitives/checkbox.js";import"../primitives/dropdown-selector.js";import"../primitives/popover.js";import"../primitives/radio.js";import"../primitives/segmented-control.js";import"../primitives/switch.js";import"../primitives/text.js";import{useCallback as a}from"react";import"../utils/client-asset-logo.js";import"react-qrcode-logo";import"../utils/secured-by-magic.js";import"../containers/header.js";import"../containers/menu.js";import"../containers/modal.js";import"../containers/overlay.js";const p=({src:o,alt:t})=>r("div",{className:"rounded-2xl overflow-hidden",children:r("img",{src:o,alt:t,className:"object-cover"})}),c=o=>{const{src:t,onPress:i,alt:m}=o,s=a(()=>{i?.()},[i]);return i?r(e,{className:"hover:shadow-[0_6px_8px_2px_rgba(0,0,0,.18)]",borderRadius:"1rem",onPress:s,...o,children:r(p,{src:t,alt:m})}):r(p,{src:t,alt:m})};export{c as NFTTile};
//# sourceMappingURL=nft-tile.js.map
