react-html-parser
react-html-parser copied to clipboard
Is it possible to pass props to ReactHtmlParser?
It would be very handy for some cases if there would be any way to pass custom props to ReactHtmlParser().
Why?
If you have for example dynamic wrapper in some cases you would need to specify className or some other attributes for tags.
You can use React Context API @lauriskuznecovs
You can use React Context API @lauriskuznecovs
Can you explain how to do this?