Check out example codes for "how to wrap text in div css". It will help you in understanding the concepts better.

Code Example 1

.example {
  overflow-wrap: break-word;
}

Learn ReactJs, React Native from akashmittal.com