'use client';
import{jsx as e,Fragment as i}from"react/jsx-runtime";import t from"../ThirdPartyPreview.js";import r from"../../configs/LooxReviews.js";import{useMemo as o}from"react";let mapWidgetLabel={rating_widget:"Rating widget",reviews_widget:"Reviews widget",carousel_widget:"Carousel widget"},LooxReviewsSampleContent=({setting:g})=>{let a=g?.widgetType&&mapWidgetLabel[g.widgetType],d=o(()=>a?`${r.label} - ${a}`:r.label,[a]);return e(i,{children:e("div",{className:"gp-p-2",children:e(t,{setting:{label:d,iconSvg:`<img class="gp-w-[24px] gp-border gp-border-[#494949] gp-rounded-[3px]" src="${r.logoUrl}">`}})})})};export{LooxReviewsSampleContent as default};
