Check out example codes for "css disable user interaction". It will help you in understanding the concepts better.

Code Example 1

.element {
  pointer-events: none;
}

Learn ReactJs, React Native from akashmittal.com