@buun_group/brutalist-ui
Version:
A brutalist-styled component library
14 lines (13 loc) • 555 B
TypeScript
/**
* @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>>;