Check out example codes for "align centre". It will help you in understanding the concepts better.

Code Example 1

.headerTwoDiv{
			margin:1% auto;
			margin-right: auto; margin-left: auto; width: 21%; 
			padding-top: 11px;
		}

Code Example 2

.headerTwoDiv{
			margin:1% auto;
			margin-right: auto; margin-left: auto; width: 21%; 
			padding-top: 11px;
		}

Learn ReactJs, React Native from akashmittal.com