@activecollab/components
Version:
ActiveCollab Components
18 lines • 629 B
TypeScript
import React, { InputHTMLAttributes } from "react";
export interface CheckBoxProps extends Omit<InputHTMLAttributes<HTMLInputElement>, "onChange"> {
/** CSS classes */
className?: string;
/** Set hover style */
hover?: boolean;
/** Id of input and for of label */
id?: string;
/** mixed state */
mixed?: boolean;
/** On change callback */
onChange?: (e: React.ChangeEvent<HTMLInputElement>) => void;
}
/**
* Checkbox component
*/
export declare const Checkbox: React.ForwardRefExoticComponent<CheckBoxProps & React.RefAttributes<HTMLInputElement>>;
//# sourceMappingURL=Checkbox.d.ts.map