import*as s from"react";import{omitThemingProps as t}from"../../../system/dist/esm/system.utils.js";import{forwardRef as r}from"../../../system/dist/esm/forward-ref.js";import{useStyleConfig as e}from"../../../system/dist/esm/use-style-config.js";import{useFormControl as m}from"../../../form-control/dist/esm/use-form-control.js";import{omit as o}from"../../../utils/dist/esm/object.js";import{chakra as i}from"../../../system/dist/esm/system.js";import{cx as a}from"../../../utils/dist/esm/dom.js";import{__DEV__ as n}from"../../../utils/dist/esm/assertion.js";function f(){return(f=Object.assign||function(s){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var e in r)Object.prototype.hasOwnProperty.call(r,e)&&(s[e]=r[e])}return s}).apply(this,arguments)}var l=r(((r,n)=>{var l=e("Textarea",r),c=t(r),{className:p,rows:u}=c,d=function(s,t){if(null==s)return{};var r,e,m={},o=Object.keys(s);for(e=0;e<o.length;e++)r=o[e],t.indexOf(r)>=0||(m[r]=s[r]);return m}(c,["className","rows"]),j=m(d),y=u?o(l,["h","minH","height","minHeight"]):l;return s.createElement(i.textarea,f({ref:n,rows:u},j,{className:a("chakra-textarea",p),__css:y}))}));n&&(l.displayName="Textarea");export{l as Textarea};
//# sourceMappingURL=textarea.js.map
