'use client';
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react/jsx-runtime"),t=require("react"),r=require("../../text/components/Text.js");exports.default=({setting:s={},styles:u={},builderAttrs:a,style:l,builderProps:n,advanced:c,children:i})=>{let d=t.useMemo(()=>{switch(s.htmlTag){case 1:return"h1";case 2:return"h2";case 3:return"h3";case 4:return"h4";case 5:return"h5";case 6:return"h6";default:return"div"}},[s.htmlTag]);return e.jsx(r.default,{builderProps:n,builderAttrs:a,advanced:c,style:l,styles:u,setting:{text:s.text,htmlTag:d,globalSize:s.globalSize,background:s.background},children:i})};
