Check out example codes for "how to align elements horizontally in css". It will help you in understanding the concepts better.

Code Example 1

<div class="row">
  <div class="block">Lorem</div>
  <div class="block">Ipsum</div>
  <div class="block">Dolor</div>
</div>

Code Example 2

.row {
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: center;
}
.block {
  width: 100px;
}

Learn ReactJs, React Native from akashmittal.com