styled-hook-form
Version:
React form library for styled-components based on grommet and react-hook-form
9 lines (8 loc) • 476 B
TypeScript
import { WatchField } from "./types";
import { PropsWithChildren } from "react";
export interface InternalFormContextValue {
registerAutoSubmitField: (field: WatchField | WatchField[]) => void;
registerChangeHandler: (field: WatchField | WatchField[]) => void;
}
export declare const InternalFormContext: import("react").Context<InternalFormContextValue | null>;
export declare const InternalFormContextProvider: React.FC<PropsWithChildren<InternalFormContextValue>>;