Check out example codes for "how can i make a slider with next and previous buttons on html". It will help you in understanding the concepts better.

Code Example 1

<a href="#" class="previous">« Previous</a>
  <a href="#" class="next">Next »</a>

  
<a href="#" class="previous round">‹</a>
<a href="#" class="next 
  round">›</a>

Learn ReactJs, React Native from akashmittal.com