Answer the question
In order to leave comments, you need to log in
How to move part of a string to a new line in a component property?
How to move part of a string to a new line in a component property? <Component text={"Hello <br> world"}/>
So it displays "Hello br world" as text.
How can I make it
move to a new line?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question