errors
errors: Record<string, string>
isValid
isValid: boolean
setErrors
setErrors: Dispatch<SetStateAction<Record<string, string>>>
setValues
setValues: Dispatch<SetStateAction<Record<string, string>>>
touched
touched: Record<string, boolean>
values
values: Record<string, string>
Record of errors for all fieldIds