UNPKG

zod-form-kit

Version:

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

16 lines (15 loc) 488 B
import { ParsedField } from '../../utils/schema-parser'; interface ArrayFieldProps { value: any[]; onChange: (value: any[]) => void; error?: string; required?: boolean; label: string; name: string; itemSchema: ParsedField; form: any; path: string; options?: any; } export declare function ArrayField({ value, onChange, error, required, label, itemSchema, form, path, options }: ArrayFieldProps): import("react/jsx-runtime").JSX.Element; export {};