UNPKG

niceform-hook

Version:
10 lines 508 B
import { FormConfig } from '../types/FormConfig'; type FormConfigWithDefinition = FormConfig<{ fieldProps: Record<string, any>; }, any>; export declare function NiceformHookProvider({ children, ...props }: FormConfigWithDefinition & { children: any; }): import("react/jsx-runtime").JSX.Element; export declare function useNiceformHookContext<Selected>(callback: (parameters: FormConfigWithDefinition) => Selected, deepComparison?: boolean): Selected; export {}; //# sourceMappingURL=niceform.d.ts.map