Check out example codes for "how to make a button centered in html5". It will help you in understanding the concepts better.

Code Example 1

<!--Put the button inside a p like this-->
<p style="text-align: center;"><button>See?</button>Whatever</p>

Code Example 2

.center {
  display: flex;
  justify-content: center;
  
  align-items: center;
  height: 200px;
  border: 3px solid 
  green; 
}

Learn ReactJs, React Native from akashmittal.com