UNPKG

zod-form-radix

Version:

Radix UI integration for zod-form-kit

15 lines (14 loc) 458 B
interface BooleanFieldRendererProps { name: string; label?: string; value: boolean; onChange: (value: boolean) => void; error?: string; required?: boolean; className?: string; options?: { variant?: 'checkbox' | 'switch'; }; } export declare function BooleanField({ name, label, value, onChange, error, required, options, className }: BooleanFieldRendererProps): import("react/jsx-runtime").JSX.Element; export {};