@undermuz/use-form
Version:
React library for build forms
9 lines (6 loc) • 445 B
TypeScript
import { IStore, DispatchFunction, IAction } from '../../utils/useReducer.js';
import { IUseIsFormSettings } from '../helpers.js';
import { IFormState, IErrors } from '../reducer.js';
declare const getFormErrors: (state: IFormState) => IErrors;
declare const createValidating: (settings?: IUseIsFormSettings) => (store: IStore<IFormState>) => (next: DispatchFunction) => (action: IAction) => void;
export { createValidating, getFormErrors };