@hookform/devtools
Version:
React Hook Form dev tool to help debugging forms
9 lines (8 loc) • 408 B
TypeScript
import { Control, FieldValues } from 'react-hook-form';
import { DevtoolUIProps } from './devToolUI';
import type { PLACEMENT } from './position';
export declare const DevTool: <T extends FieldValues>(props?: ({
id?: string | undefined;
control?: Control<T, any, T> | undefined;
} & Pick<DevtoolUIProps, "placement" | "styles">) | undefined) => JSX.Element | null;
export type { PLACEMENT };