Format string from an object
I'm attempting to format text from an object in an array. I am mapping the objects to jsx. I am not sure how I would go about formatting a single property from a particular object. I've been googling for a bit, but maybe I'm not asking the right question. Any Ideas?
I would like the format to be 3 blocks of 4 lines, like a poem (how it looks in the code above).
The issue is that the display does not have any breaks.
2 Replies
When you style the <p> tag, try adding
Thank you! That got me a lot closer!