Check out example codes for "how do you center buttons in css". It will help you in understanding the concepts better.

Code Example 1

<div style="text-align:center;">
    <button>button1</button>
    <button>button2</button>
</div>

Learn ReactJs, React Native from akashmittal.com