UNPKG

zod-form-kit

Version:

UI-agnostic form generation library based on Zod schemas with extensible adapter pattern

13 lines (12 loc) 403 B
import { ParsedField } from '../utils/schema-parser'; import { z } from 'zod'; interface FieldRendererProps { schema: ParsedField; form: any; path: string; label?: string; zodSchema?: z.ZodTypeAny; isRoot?: boolean; } export declare function FieldRenderer({ schema, form, path, label, zodSchema, isRoot }: FieldRendererProps): import("react/jsx-runtime").JSX.Element; export {};