I receive html as string from the backend:
'<div><p>Example<p><div>'
Then I parse it using html-react-parser. What I am trying to do afterwards, is to replace every table that I receive with my SmartTable component. As I understand, it would take following steps:
I've done first two steps, but cant figure out the third.
Is it possible to acheive this in react?