Check out example codes for "how to write 2 class in html". It will help you in understanding the concepts better.

Code Example 1

<div class="nav nav-centered nav-reversed navbar navigation-block"></div>

Learn ReactJs, React Native from akashmittal.com