UNPKG

@activecollab/components

Version:

ActiveCollab Components

19 lines 765 B
import { FC, MouseEvent, ButtonHTMLAttributes } from "react"; export interface ICompleteCheckboxProps extends ButtonHTMLAttributes<HTMLButtonElement> { /** Change completed state of checkbox */ completed?: boolean; /** Callback */ onClick?: (event: MouseEvent) => void; /** Make component disabled for interaction */ disabled?: boolean; /** Animation (works only when is completed and not disabled) */ animate?: boolean; /** Class names */ className?: string | undefined; /** Set green color for checkbox */ primary?: boolean; /** Set checkmark height and width */ checkMarkClassName?: string; } export declare const CompleteCheckbox: FC<ICompleteCheckboxProps>; //# sourceMappingURL=CompleteCheckbox.d.ts.map