@burst/react-html-parser

React HTML parse

Usage no npm install needed!

<script type="module">
  import burstReactHtmlParser from 'https://cdn.skypack.dev/@burst/react-html-parser';
</script>

README

@burst/react-html-parser

The React HTML Parser does what it says it does. It will take HTML as a string as an input and output an React element with all the HTML as HTML elements.

Usage

import reactHtmlParser from '@burst/react-html-parser';

render( 
    <ReactHTMLParser components={{}}>{'<p>Hello</p>'}</ReactHTMLParser>,
);