UNPKG

rc-simple-hook-form

Version:

`useForm` is a powerful and flexible React hook for managing form state, validation, and interactions. It provides a comprehensive solution for handling form inputs with advanced features like state management, validation, and form-level controls.

3 lines (2 loc) 202 B
import { VALID, ValidationFields } from "../types/package"; export declare const validationCallback: Record<keyof ValidationFields, (value: any, msg?: string, refValue?: any) => string | typeof VALID>;