insert a line break into a text component in react-native
text = text.replace(/<br\s*\/?>/gi, "\n")
react native new line character
<Text> Hi~{"\n"} this is a test message. </Text>
Source: stackoverflow.com