import{r as e,a as s}from"./app-f632e8c1.js";const g=e.exports.forwardRef(function({type:o="text",name:n,id:a,value:c,className:f,autoComplete:i,required:u,isFocused:d,handleChange:x},r){const t=r||e.exports.useRef();return e.exports.useEffect(()=>{d&&t.current.focus()},[]),s("div",{className:"flex flex-col items-start",children:s("input",{type:o,name:n,id:a,value:c,className:"border-gray-300 focus:border-indigo-500 focus:ring-indigo-500 rounded-md shadow-sm "+f,ref:t,autoComplete:i,required:u,onChange:p=>x(p)})})});export{g as T};
