UNPKG

@nlabs/gothamjs

Version:
14 lines (13 loc) 642 B
import { type InputHTMLAttributes } from 'react'; export interface CheckboxProps extends Omit<InputHTMLAttributes<HTMLInputElement>, 'type' | 'className' | 'defaultValue'> { color?: 'primary' | 'secondary' | 'error' | 'success' | 'warning'; containerClass?: string; defaultValue?: boolean; description?: string; error?: string; label: string; labelClass?: string; name: string; optionClass?: string; } export declare const Checkbox: ({ color, label, defaultValue, description, error, containerClass, labelClass, name, optionClass, id, ...props }: CheckboxProps) => import("react/jsx-runtime").JSX.Element;