zod-auto-form
Version:
Auto-generate typed React forms from Zod schemas
10 lines (9 loc) • 444 B
TypeScript
import { type ReactNode } from "react";
import type { ComponentContextType } from "../types/base-components";
export declare const useComponentContext: () => ComponentContextType;
type ComponentProviderProps = {
children: ReactNode;
components?: Partial<ComponentContextType>;
};
export declare const AutoFormComponentsProvider: ({ children, components, }: ComponentProviderProps) => import("react/jsx-runtime").JSX.Element;
export {};