Check out example codes for "how to disable a link". It will help you in understanding the concepts better.

Code Example 1

a.isDisabled {
  pointer-events: none;
}

Code Example 2

<style>
.isDisabled {
  color: currentColor;
  cursor: not-allowed;
  opacity: 0.5;
  text-decoration: none;
}
</style>
<a class="isDisabled" href="https://unfetteredthoughts.net">Disabled Link</a>

Learn ReactJs, React Native from akashmittal.com