how to add a line break in react code example
Example 1: how to place a line break in react native
you need use {'\n'} as line breaks in text component, whenever you need to add line break in react native application
Example 2: line break in react
This should do it:
<Text>
Hi~{"\n"}
this is a test message.
</Text>