Check out example codes for "prevent row click event when button is clicked angular html". It will help you in understanding the concepts better.

Code Example 1

clickStopper(event) {
      event.stopPropagation();
      return;
  }

Learn ReactJs, React Native from akashmittal.com