'use client';
import{jsx as e,Fragment as r}from"react/jsx-runtime";import t from"../ThirdPartyPreview.js";import i from"../../configs/YotpoReviews.js";import{useMemo as o}from"react";let mapWidgetLabel={reviews:"Reviews","star-rating":"Star Badge",badge:"Star Badge",reviewHighlights:"Review Highlights"},YotpoReviewsSampleContent=({setting:a})=>{let g=a?.widgetType&&mapWidgetLabel[a.widgetType],p=o(()=>g?`${i.label} - ${g}`:i.label,[g]);return e(r,{children:e("div",{className:"gp-p-2",children:e(t,{setting:{label:p,iconSvg:`<img class="gp-w-[24px] gp-border gp-border-[#494949] gp-rounded-[3px]" src="${i.logoUrl}">`}})})})};export{YotpoReviewsSampleContent as default};
