import{j as t,o as c,fz as _,fA as p,aH as m,fB as u}from"./index-BbiZcFRx.js";const T="_container_a0u0w_88",b="_errorText_a0u0w_92",f="_label_a0u0w_97",C="_textField_a0u0w_101",e={container:T,errorText:b,label:f,textField:C},h=({autoFocus:r,defaultValue:a,disablePattern:s=!1,error:o,id:l,labelText:n,register:i,required:x=!0,className:d=""})=>t.jsx("div",{className:`${e.container} ${d}`,children:t.jsx(c,{autoFocus:r,defaultValue:a,error:o,errorMessage:_,errorMessagePattern:p,errorTextClassName:e.errorText,InputProps:{maxLength:5},fieldClassName:e.textField,id:l,labelClassName:e.label,labelText:n,pattern:s&&m,placeholder:u,register:i,required:x,type:"text"})});export{h as Z};
//# sourceMappingURL=index-P98bLq_k.js.map