payzli-ui-aryan
Version:
A custom react components library
14 lines (13 loc) • 366 B
TypeScript
export interface ICheckboxProps {
label?: string | React.ReactNode;
checked: boolean;
onChange: (event: React.ChangeEvent<HTMLInputElement>) => void;
name?: string;
id?: string;
type?: "solid" | "outline";
disabled?: boolean;
indeterminate?: boolean;
size?: "sm" | "md";
children?: React.ReactNode;
labelClass?: string;
}