react-html-parser icon indicating copy to clipboard operation
react-html-parser copied to clipboard

Invariant Violation: View config not found for name div

Open Gabsys opened this issue 7 years ago • 0 comments

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? @@

Gabsys avatar Jun 14 '18 04:06 Gabsys