This commit is contained in:
2022-07-27 14:39:45 +07:00
parent 7d2a1d6e98
commit 8c78fd3d84
36 changed files with 37 additions and 35 deletions

View File

@@ -0,0 +1 @@
import{O as r,f as t,Q as l,bh as i,b8 as x}from"./index.4dc72a5e.js";function u({name:a,...s}){const{control:n}=r();return t(l,{name:a,control:n,render:({field:o,fieldState:{error:e}})=>t(i,{id:a,value:o.value,onChange:o.onChange,error:!!e,simple:!0,helperText:t(x,{error:!0,sx:{px:2,textTransform:"capitalize"},children:e==null?void 0:e.message}),...s})})}export{u as R};