@masaischool/lotus
Version:
Masai UI component library designed to work seamlessly with Chakra UI
17 lines (16 loc) • 663 B
TypeScript
import React from 'react';
export interface Props {
value: string;
label: string;
support_label?: string;
size?: 'regular' | 'large';
color?: string;
checked?: boolean;
disabled?: boolean;
isIndeterminate?: boolean;
onChange?: (event: React.ChangeEvent<HTMLInputElement>) => void;
extraReactElement?: React.ReactElement;
extraReactElementValueOnClick?: (value: string) => void;
}
export declare const Checkbox: ({ size, color, checked, onChange, value, label, support_label, disabled, isIndeterminate, extraReactElement, extraReactElementValueOnClick, }: Props) => JSX.Element;
export default Checkbox;