onClick

onClick: undefined | (e: MouseEvent) => void

Event called when checkbox is clicked on. This is a good event to use for preventing the action from bubbling to component's parents.

Defined in

Last Updated: 13 June, 2024