Check out example codes for "css how to center images in a table cell". It will help you in understanding the concepts better.

Code Example 1

td img{
    display: block;
    margin-left: auto;
    margin-right: auto;

}

Learn ReactJs, React Native from akashmittal.com