UNPKG

zod-form-kit

Version:

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

12 lines (11 loc) 352 B
interface EnumFieldProps { value: string; onChange: (value: string) => void; error?: string; required?: boolean; label: string; name: string; values: string[]; } export declare function EnumField({ value, onChange, error, required, label, name, values }: EnumFieldProps): import("react/jsx-runtime").JSX.Element; export {};