Check out example codes for "open modal bootstrap a tag". It will help you in understanding the concepts better.

Code Example 1

<a href="#" data-toggle="modal" data-target="#modalId"> Click on me</a>

Learn ReactJs, React Native from akashmittal.com