zod-auto-form
Version:
Auto-generate typed React forms from Zod schemas
8 lines (7 loc) • 405 B
TypeScript
import type { ComponentContextType } from "../types/base-components";
import type { InternalFieldComponents } from "../types/internal-components";
interface GenericFormFieldProps extends InternalFieldComponents {
componentKey: keyof ComponentContextType;
}
export default function GenericFormField({ componentKey, ...rest }: GenericFormFieldProps): import("react/jsx-runtime").JSX.Element;
export {};