Check out example codes for "css overflow elipsis". It will help you in understanding the concepts better.

Code Example 1

width: 250px; //width has to be set to work
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;

Code Example 2

overflow: scroll;
white-space: nowrap;

Learn ReactJs, React Native from akashmittal.com