@burst/react-html-parser
TypeScript icon, indicating that this package has built-in type declarations

1.0.4 • Public • Published

@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>,
);

/@burst/react-html-parser/

    Package Sidebar

    Install

    npm i @burst/react-html-parser

    Weekly Downloads

    22

    Version

    1.0.4

    License

    MIT

    Unpacked Size

    52.3 kB

    Total Files

    11

    Last publish

    Collaborators

    • joriregter
    • burst-bot
    • carinhansen
    • perryjanssen
    • fvanharreveld
    • robinheij
    • dennistimmers