soda-material
Version:
A component library that may follow [material design 3](https://m3.material.io/components) (a.k.a. material you)
16 lines (15 loc) • 629 B
TypeScript
/// <reference types="react" />
import './checkbox.scss';
/**
* @specs https://m3.material.io/components/checkbox/specs
*/
export declare const Checkbox: import("react").ForwardRefExoticComponent<{
checked?: boolean | undefined;
onChange?: (() => void) | undefined;
children?: React.ReactNode;
disabled?: boolean | undefined;
/**
* This do not have any functional effect, just change color to red
*/
error?: boolean | undefined;
} & Omit<import("react").HTMLProps<HTMLElement>, "ref" | "checked" | "disabled" | "children" | "onChange" | "error"> & import("react").RefAttributes<HTMLElement>>;