"use strict";const v=require("react/jsx-runtime"),T=require("react"),s=require("../tools/tools.cjs"),i=function(c){const{as:u="textarea",children:e,className:t,defaultValue:d,dropOldClass:a,isInvalid:r,isValid:l,style:n,variables:o,...x}=c,y=T.useMemo(()=>{const f=s.classx(!a&&"form-control",l&&"is-valid",r&&"is-invalid",t),m=s.stylex((q,p)=>({tKey:s.convertBsKeyToVar(p)}),o,n);return{className:f,style:m}},[a,l,r,t,o,n]);return v.jsx(u,{...x,...y,defaultValue:d??(typeof e=="string"||typeof e=="number"?e:void 0)})};i.displayName="BRL.Textarea";exports.Textarea=i;
//# sourceMappingURL=textarea.cjs.map
