@matthew.ngo/reform
Version:
A flexible and powerful React form management library with advanced validation, state observation, and multi-group support
7 lines (6 loc) • 317 B
TypeScript
import { UseFormReturn } from 'react-hook-form';
import { FormController } from './form-controller';
import { FormGroup } from './form-groups';
export declare const useFormController: <T extends Record<string, any>>(methods: UseFormReturn<{
groups: FormGroup<T>[];
}, any, undefined>) => FormController<T>;