Comparing version 7.1.2 to 7.1.3
@@ -112,7 +112,7 @@ import _extends from "@babel/runtime/helpers/extends"; | ||
return React.createElement(EnhancedWrappedComponent, _extends({ | ||
return React.createElement(EnhancedWrappedComponent, _extends({}, rest, { | ||
style: substyle(modifiers, _this2.defaultStyle || defaultStyle), | ||
ref: isStatelessFunction(EnhancedWrappedComponent) ? undefined : // $FlowFixMe | ||
_this2.setWrappedInstance | ||
}, rest)); | ||
})); | ||
}); | ||
@@ -119,0 +119,0 @@ } |
@@ -130,7 +130,7 @@ "use strict"; | ||
return _react.default.createElement(EnhancedWrappedComponent, (0, _extends2.default)({ | ||
return _react.default.createElement(EnhancedWrappedComponent, (0, _extends2.default)({}, rest, { | ||
style: substyle(modifiers, _this2.defaultStyle || defaultStyle), | ||
ref: isStatelessFunction(EnhancedWrappedComponent) ? undefined : // $FlowFixMe | ||
_this2.setWrappedInstance | ||
}, rest)); | ||
})); | ||
}); | ||
@@ -137,0 +137,0 @@ } |
{ | ||
"name": "substyle", | ||
"version": "7.1.2", | ||
"version": "7.1.3", | ||
"description": "Universal styling for reusable React components", | ||
@@ -63,3 +63,4 @@ "main": "lib/index.js", | ||
"setupTestFrameworkScriptFile": "<rootDir>test/setup.js" | ||
} | ||
}, | ||
"gitHead": "8bc6710bf782fd0eff12413f5560a62ed7c9cb0a" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
100946
65