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

Code Example 1

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

Learn ReactJs, React Native from akashmittal.com