I want to display some text using the Text composable in Jetpack Compose and the text contains a new line character '\n'. Something like below:
Text("This is the first line\nThis is the second line")
But the '\n' ends up just being text.
How can I get the Text component to display the new line on a separate line?
