Check out example codes for "css scrollbar vertical only". It will help you in understanding the concepts better.

Code Example 1

style="overflow:scroll; overflow-x: hidden;" // x is horizontal, y is vertical

Code Example 2

div.ex1 {
  overflow-y: scroll;
}

div.ex2 {
  overflow-y: hidden;
}

div.ex3 {
  overflow-y: 
    auto;
}

div.ex4 {
  overflow-y: visible;
}

Learn ReactJs, React Native from akashmittal.com