@papernote/ui
Version:
A modern React component library with a paper notebook aesthetic - minimal, professional, and expressive
18 lines • 670 B
TypeScript
export interface CheckboxProps {
checked: boolean;
onChange: (checked: boolean) => void;
label?: string;
description?: string;
disabled?: boolean;
indeterminate?: boolean;
className?: string;
id?: string;
name?: string;
/** Optional icon to display next to label */
icon?: React.ReactNode;
/** Size variant - 'lg' provides 44px touch-friendly targets. On mobile, 'md' auto-upgrades to 'lg'. */
size?: 'sm' | 'md' | 'lg';
}
declare const Checkbox: import("react").ForwardRefExoticComponent<CheckboxProps & import("react").RefAttributes<HTMLInputElement>>;
export default Checkbox;
//# sourceMappingURL=Checkbox.d.ts.map