UNPKG

@buun_group/brutalist-ui

Version:
14 lines (13 loc) 555 B
/** * @module Checkbox * @description A customizable checkbox component with indeterminate state support and keyboard accessibility. */ import React, { InputHTMLAttributes } from 'react'; export interface CheckboxProps extends Omit<InputHTMLAttributes<HTMLInputElement>, 'type' | 'size'> { size?: 'sm' | 'md' | 'lg'; label?: React.ReactNode; indeterminate?: boolean; error?: boolean; brutalistShadow?: boolean; } export declare const Checkbox: React.ForwardRefExoticComponent<CheckboxProps & React.RefAttributes<HTMLInputElement>>;