@conform-to/react
Version:
Conform view adapter for react
15 lines • 595 B
TypeScript
export declare const FormContext: import("react").Context<{
observer: {
onFieldUpdate(callback: (event: {
type: "input" | "reset" | "mutation";
target: HTMLInputElement | HTMLSelectElement | HTMLTextAreaElement;
}) => void): () => void;
onFormUpdate(callback: (event: {
type: "submit" | "input" | "reset" | "mutation";
target: HTMLFormElement;
submitter?: HTMLInputElement | HTMLButtonElement | null;
}) => void): () => void;
dispose(): void;
};
}>;
//# sourceMappingURL=context.d.ts.map