Check out example codes for "list text wont center properly css". It will help you in understanding the concepts better.

Code Example 1

ul {
  text-align: center;
  list-style: inside;
}

Learn ReactJs, React Native from akashmittal.com