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

Code Example 1

div {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

Code Example 2

overflow: scroll;
white-space: nowrap;

Learn ReactJs, React Native from akashmittal.com