react-proforma
Version:
React Proforma helps you build simple to complex web forms with ease in React. -- Simplicity where you want it. Flexibility where you need it.
5 lines (4 loc) • 344 B
TypeScript
import { IndexableObjectType, IValidationObject } from './types';
import { ProformaStateType } from './Proforma';
export declare function generateStateObject<V>(initState: V & IndexableObjectType): ProformaStateType<V>;
export declare function validator<V>(name: string, values: V, validationObject: IValidationObject<V>): string[] | null;