import{e as u,a3 as r,G as i,a0 as d,n as l,o as c,c as m,I as f,W as p,M as b}from"./BoB2h2qv.js";const v=u({__name:"Textarea",props:{class:{},defaultValue:{},modelValue:{}},emits:["update:modelValue"],setup(o,{emit:t}){const e=o,s=r(e,"modelValue",t,{passive:!0,defaultValue:e.defaultValue});return(x,a)=>i((c(),m("textarea",{"onUpdate:modelValue":a[0]||(a[0]=n=>b(s)?s.value=n:null),class:f(l(p)("flex min-h-20 w-full rounded-md border border-input bg-background px-3 py-2 text-sm ring-offset-background placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50",e.class))},null,2)),[[d,l(s)]])}});export{v as _};
