Check out example codes for "how to add space between menu items in css". It will help you in understanding the concepts better.

Code Example 1

<head> 
    <meta charset="UTF-8"> 
    <title>Document</title> 
	<style> 
	ul {margin:0} 
	ul li {float:left;} 
	ul li a { 
		padding: 20px; 
		list-style:none; 
	} 
	</style> 
</head>

Learn ReactJs, React Native from akashmittal.com