'use client';
import{jsx as e,Fragment as r}from"react/jsx-runtime";import t from"../ThirdPartyPreview.js";import a from"../../configs/Growave.js";import{useMemo as i}from"react";let mapWidgetLabel={reviews:"Reviews",badge:"Star Badge",productListBadge:"Product List Badge",wishList:"Wish List",socialShare:"Social Share",favorite:"Favorite Icon"},GrowaveSampleContent=({setting:o})=>{let p=o?.widgetType&&mapWidgetLabel[o.widgetType],s=i(()=>p?`${a.label} - ${p}`:a.label,[p]);return e(r,{children:e("div",{className:"gp-p-2",children:e(t,{setting:{label:s,iconSvg:`<img class="gp-w-[24px] gp-border gp-border-[#494949] gp-rounded-[3px]" src="${a.logoUrl}">`}})})})};export{GrowaveSampleContent as default};
