0x1949 Team - FAZEMRX - MANAGER
Edit File: AutoExpandingTextArea-3a779a81.js
import{r as x,j as i,d as c}from"./index-13b2882d.js";const l=e=>{const{dynamicHeight:s,id:o,value:r,rows:a}=e;return x.useLayoutEffect(()=>{if(s){const t=document.getElementById(o||"");if(t){t.style.height="0px";const n=t.scrollHeight;t.style.height=`${n+1}px`}}},[r]),i.jsx("div",{children:i.jsx(c.Textarea,{...e,rows:s?void 0:a})})};export{l as A};