Check out example codes for "circlular waiting icon bootstrap". It will help you in understanding the concepts better.

Code Example 1

<div class="spinner-border" role="status">
  <span class="sr-only">Loading...</span>
</div>

Learn ReactJs, React Native from akashmittal.com