html-react-parser
Advanced tools
Comparing version 0.3.0 to 0.3.1
{ | ||
"name": "html-react-parser", | ||
"version": "0.3.0", | ||
"version": "0.3.1", | ||
"description": "An HTML to React parser.", | ||
@@ -5,0 +5,0 @@ "author": "Mark <mark@remarkablemark.org>", |
@@ -16,3 +16,3 @@ # html-react-parser | ||
The parser converts a string of HTML to [React Element(s)](https://facebook.github.io/react/docs/glossary.html#react-elements). | ||
The parser converts an HTML string to [React Element(s)](https://facebook.github.io/react/docs/react-api.html#creating-react-elements). | ||
@@ -29,2 +29,4 @@ There is also an option to [replace](#replacedomnode) element(s) with your own React Element(s) via the [parser options](#options). | ||
[JSFiddle](https://jsfiddle.net/remarkablemark/7v86d800/) | ||
## Installation | ||
@@ -47,4 +49,5 @@ | ||
```html | ||
<!-- HTMLReactParser depends on React --> | ||
<!-- HTMLReactParser depends on React and ReactDOM --> | ||
<script src="https://unpkg.com/react@latest/dist/react.min.js"></script> | ||
<script src="https://unpkg.com/react-dom@latest/dist/react-dom.min.js"></script> | ||
<script src="https://unpkg.com/html-react-parser@latest/dist/html-react-parser.min.js"></script> | ||
@@ -51,0 +54,0 @@ ``` |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
75685
209