I'm using ReactReadMoreReadLess for implementing read more button in my react app. I want to break line in the content like some br tag between two paragraph after read more button is clicked. If I use br tag in datset through which data is mapped, it shows error as "TypeError: children.substr is not a function" .
How to get rid of this error and accomplish the above said task? Thanks in Advance!