niceform-hook
Version:
Dynamic workhorse for form in react
10 lines • 508 B
TypeScript
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