UNPKG

react-formal

Version:

Classy HTML form management for React

12 lines (11 loc) 271 B
export type Errors = Record<string, any | any[]>; export type Touched = Record<string, boolean>; export type ValidateData = { fields: string[]; type: string; args?: any[]; }; export type BeforeSubmitData = { value: any | undefined; errors: Errors; };