Check out example codes for "owl carousel get started". It will help you in understanding the concepts better.

Code Example 1

<!-- Set up your HTML -->
<div class="owl-carousel">
  <div> Your Content </div>
  <div> Your Content </div>
  <div> Your Content </div>
  <div> Your Content </div>
  <div> Your Content </div>
  <div> Your Content </div>
  <div> Your Content </div>
</div>

Code Example 2

$(document).ready(function(){
  $(".owl-carousel").owlCarousel();
});

Learn ReactJs, React Native from akashmittal.com