UNPKG

react-wired-elements

Version:

Wired Elements as React components. TypeScript types included.

24 lines (23 loc) 696 B
import { BaseProps } from './types'; export interface WiredCheckBoxProps extends BaseProps { /** * Rather the checkbox is checked or not. * @default false */ checked?: boolean; /** * Disable the checkbox. * @default false */ disabled?: boolean; /** * The color of the checkbox. * @default "currentColor" */ color?: string; /** * Event fired when state of the checkbox changes, i.e. The user checks/unchecks the box. */ onChange?(e: CustomEvent): void; } export declare const WiredCheckBox: ({ checked, color, disabled, onChange, className, style, }: WiredCheckBoxProps) => JSX.Element;