'use client';
import{jsx as t}from"react/jsx-runtime";import{useMemo as r}from"react";import e from"./CustomLink.js";import o from"./ProductLink.js";let Link=({setting:m,className:i,style:a})=>{let p=r(()=>m?.type==="product"?o:e,[m?.type]);return t(p,{target:m?.target,href:m?.href,className:i,style:a})};export{Link as default};
