Check out example codes for "how to add lines between div rows html". It will help you in understanding the concepts better.

Code Example 1

.divider {
  border-bottom: 1px solid black;
}

<p class="divided">
  <span>Content 1</span>
  <span class="divider"></span>
  <span>Content 2</span>
</p>

Learn ReactJs, React Native from akashmittal.com