'use client';
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var jsxRuntime=require("react/jsx-runtime"),core=require("@gem-sdk/core");const TextArea=({children:e,className:t,required:r,setting:l={},advanced:s,builderProps:i})=>{let{width:o,height:a,fontSize:c,align:d,disabled:x,placeholder:p}=l;return jsxRuntime.jsx("div",{"data-id":i?.uid,className:core.cls({"gp-text-right":d?.desktop==="right","tablet:gp-text-right":d?.tablet==="right","mobile:gp-text-right":d?.mobile==="right","gp-text-left":d?.desktop==="left","tablet:gp-text-left":d?.tablet==="left","mobile:gp-text-left":d?.mobile==="left","gp-text-center":d?.desktop==="center","tablet:gp-text-center":d?.tablet==="center","mobile:gp-text-center":d?.mobile==="center"}),children:jsxRuntime.jsx("textarea",{className:core.cls("border border-solid",t,s?.cssClass),style:{...core.makeStyleResponsive("w",o),...core.makeStyleResponsive("h",a),...core.makeStyleResponsive("size",c)},placeholder:p,disabled:x,required:r,children:e})})};TextArea.defaultProps={},exports.default=TextArea;
