UNPKG

@shopify/react-form

Version:

Manage react forms tersely and safely-typed with no magic using React hooks.

5 lines (4 loc) 162 B
import { FieldOutput, FormError } from '../types'; export declare function useValidateAll(fieldBag: { [key: string]: FieldOutput<any>; }): () => FormError[];