I have a JSON object with a property content
which is an array.
Some elements in this array are regular strings, and some of them are <Link/>
components from react-router-dom
. eg:
["String1 ", "String2 ", "<Link to='/path'/>path</Link> ", etc]
At the moment react is rendering the literal string <Link to.../>
where I want to render the Link component.
The row that is rendering the object is: <Row style={{ cursor: 'text' }}>{content}</Row>