Check out example codes for "why tr border not showing". It will help you in understanding the concepts better.

Code Example 1

table {
  border-collapse: collapse;
}

Learn ReactJs, React Native from akashmittal.com