React TypeScript onclick Stop Propagation
handleClick(event: React.MouseEvent<HTMLButtonElement>) {
event.stopPropagation();
...
the_click();
}
render() {
...
<button onClick={this.handleClick}>Click me</button>
...
}
GutoTrosla