Check out example codes for "css white-space". It will help you in understanding the concepts better.

Code Example 1

p.a {
	white-space: nowrap;
}

p.b {
	white-space: normal;
}

p.c {
	white-space: pre;
}

Learn ReactJs, React Native from akashmittal.com