UNPKG

remix-validated-form

Version:

Form component and utils for easy form validation in remix

13 lines (12 loc) 421 B
/// <reference types="react" /> import { FetcherWithComponents } from "@remix-run/react"; export type InternalFormContextValue = { formId: string | symbol; action?: string; subaction?: string; defaultValuesProp?: { [fieldName: string]: any; }; fetcher?: FetcherWithComponents<unknown>; }; export declare const InternalFormContext: import("react").Context<InternalFormContextValue | null>;