UNPKG

niceform-hook

Version:
11 lines 545 B
import { FieldValues, UseFormProps } from "react-hook-form"; import { OnChangeField } from "./auxiliar"; import { CreatePropsDefinition } from "./CreatePropsDefinition"; export type UseFormParameters<T extends CreatePropsDefinition, TFieldValues extends FieldValues = FieldValues> = UseFormProps<TFieldValues> & { onChangeField?: OnChangeField<T['fieldProps']>; initialValues?: TFieldValues; debounceTime?: number; enableDebounce?: boolean; enableDebounceOnSubmit?: boolean; }; //# sourceMappingURL=UseFormParameters.d.ts.map