react-html-parser
react-html-parser copied to clipboard
Invariant Violation: View config not found for name div
Below is my code:
render() {
const html = '<div>Example HTML string</div>';
return (
<View>
{ ReactHtmlParser(html) };
</View>
I only get Invariant Violation: View config not found for name div error upon running. May I ask how do I actually use this package? @@