UNPKG

zod-form-radix

Version:

Radix UI integration for zod-form-kit

19 lines (18 loc) 570 B
interface ArrayFieldRendererProps { name: string; label?: string; value: any[]; onChange: (path: string, value: any) => void; error?: string; required?: boolean; className?: string; itemSchema: any; errors: Record<string, string>; path: string; options?: { minLength?: number; maxLength?: number; }; } export declare function ArrayField({ label, value, onChange, error, required, itemSchema, errors, path, options, className }: ArrayFieldRendererProps): import("react/jsx-runtime").JSX.Element; export {};