Check out example codes for "rotate a table in html". It will help you in understanding the concepts better.

Code Example 1

#myTable {
    transform:rotate(270deg);
}

Learn ReactJs, React Native from akashmittal.com