'use client';
import{jsx as t,Fragment as e,jsxs as l}from"react/jsx-runtime";import n from"../../text/components/Text.js";let s=({data:s,menu:r,styles:a})=>t(e,{children:r?.map(e=>l("div",{children:[t("span",{className:"gp-cursor-pointer gp-truncate gp-transition-all gp-duration-[200ms]",children:t(n,{styles:a,setting:{htmlTag:"span",text:s?.[e]?.title,excludeFlex:!0}})}),t("div",{className:"gp-mt-3",children:!!s?.[e]?.childrens?.length&&s?.[e]?.childrens?.map(e=>t("div",{className:"gp-cursor-pointer gp-truncate gp-py-1 gp-transition-all gp-duration-[200ms]",children:t(n,{styles:a,setting:{htmlTag:"span",text:s?.[e]?.title,excludeFlex:!0}})},e))})]},e))});export{s as default};
