diff --git a/components/lib/checkbox/checkbox.d.ts b/components/lib/checkbox/checkbox.d.ts index 8f6ae37b39..19706c887a 100644 --- a/components/lib/checkbox/checkbox.d.ts +++ b/components/lib/checkbox/checkbox.d.ts @@ -86,7 +86,7 @@ interface CheckboxChangeEvent extends FormEvent {} * Defines valid properties in Checkbox component. In addition to these, all properties of HTMLDivElement can be used in this component. * @group Properties */ -export interface CheckboxProps extends Omit, HTMLDivElement>, 'onChange' | 'ref'> { +export interface CheckboxProps extends Omit, HTMLDivElement>, 'onChange' | 'onClick' | 'ref'> { /** * Unique identifier of the element. */ @@ -178,6 +178,11 @@ export interface CheckboxProps extends Omit & { target: HTMLInputElement }} event - click event + */ + onClick?(event: React.MouseEvent & { target: HTMLInputElement }): void; /** * Callback to invoke on value change * @param {CheckboxChangeEvent} event - Custom change event