I have a component <Ren1 text="Line1\nLine2\nLine3" /> ...
function Ren1({text}){
return <p>{text}</p>;
}
export default Ren1
How do I add the line break from \n from when it comes from the database?
Needed output:
Line1
Line2
Line3
Thank you in advance for your help