react-decorators
Advanced tools
Comparing version 1.2.1 to 1.2.2
@@ -70,3 +70,5 @@ var React = require('react'); | ||
Object.keys(props).forEach(function(propName) { | ||
if (propName !== 'children' && React.isValidElement(props[propName])) { | ||
if (propName !== 'children' && | ||
React.isValidElement(props[propName]) && | ||
props[propName].preventTransformation !== true) { | ||
props[propName] = transformElement(props[propName], cb); | ||
@@ -73,0 +75,0 @@ } |
{ | ||
"name": "react-decorators", | ||
"version": "1.2.1", | ||
"version": "1.2.2", | ||
"description": "A collection of react decorators to enhance components capabilities", | ||
@@ -5,0 +5,0 @@ "main": "./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
27473
562