Check out example codes for "multilevel list html". It will help you in understanding the concepts better.

Code Example 1

<ol> <li>First</li> <li>Second <ol style="list-style-type: lower-alpha; padding-bottom: 0;">
  <li style="margin-left:2em">Sub of Second</li>
  <li style="margin-left:2em; padding-bottom: 0;">Another Sub</li>
 </ol> </li> <li>Third</li> <li>Fourth </li></ol>

Learn ReactJs, React Native from akashmittal.com