Appearance
createLib()
Accepts config and returns library methods and properties
Config:
validateOnUseForm
- global setting foruseForm
hook. Sets defaultvalidate
value. If set to true callsvalidate
event on mount.
Returns:
typescript
{
useForm,
useField,
useDirty,
useValue,
useErrors,
useFields,
useFocused,
useTouched,
useSubmitted,
useExternalErrors
}