html-element-to-react
Advanced tools
Comparing version 0.4.3 to 0.4.4
@@ -38,5 +38,13 @@ "use strict"; | ||
if (el[k]) { | ||
if (k === "className" && el[k]) { | ||
props[k] = el[k]; | ||
} | ||
if (k === "src" && el[k]) { | ||
props[k] = el[k]; | ||
} | ||
if (k === "href" && el[k]) { | ||
props[k] = el[k]; | ||
} | ||
} | ||
@@ -43,0 +51,0 @@ |
{ | ||
"name": "html-element-to-react", | ||
"version": "0.4.3", | ||
"version": "0.4.4", | ||
"description": "Convert HTML DOM elements to React elements", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
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
5404
63