html-element-to-react
Advanced tools
Comparing version 0.2.0 to 0.3.0
{ | ||
"name": "html-element-to-react", | ||
"version": "0.2.0", | ||
"version": "0.3.0", | ||
"description": "Convert HTML DOM elements to React elements", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
# html-element-to-react | ||
Convert HTML DOM elements to React | ||
`npm i --save html-element-to-react` | ||
### Usage | ||
```js | ||
import React from 'react' | ||
import ReactDOM from 'react-dom' | ||
import { convert } from 'domelement-to-react' | ||
import { convert } from 'html-element-to-react' | ||
@@ -12,2 +15,2 @@ const App = convert(htmlElement) | ||
ReactDOM.render(App, document.getElementById('app')) | ||
``` | ||
``` |
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
5121
16