Check out example codes for "more than one class in div". It will help you in understanding the concepts better.
Code Example 1
<!-- You can use multiple classes per element if you simply put spaces between the names: --> <div class="c1 c2"> This div has two classes </div>
Learn ReactJs, React Native from akashmittal.com