react-bulk-form
Version:
A simple React library for managing form-related states in bulk.
5 lines • 398 B
TypeScript
import React from 'react';
import type { UseFormReturn, FormValues, FormRuleKey, FormProviderProps } from '../types/common';
export declare const FormContext: React.Context<UseFormReturn<any, any> | null>;
export declare function FormProvider<V extends FormValues<V>, K extends FormRuleKey>({ form, children }: FormProviderProps<V, K>): React.JSX.Element;
//# sourceMappingURL=FormProvider.d.ts.map