Check out example codes for "mettre une image au milieu css". It will help you in understanding the concepts better.

Code Example 1

IMG.displayed {
    display: block;
    margin-left: auto;
    margin-right: auto }
 ...
<IMG class="displayed" src="..." alt="...">

Learn ReactJs, React Native from akashmittal.com