uncontrollable
Advanced tools
Comparing version 3.1.4 to 3.2.0
@@ -112,2 +112,12 @@ 'use strict'; | ||
/** | ||
* useful when wrapping a Component and you want to control | ||
* everything | ||
*/ | ||
component.deferControlTo = function (newComponent, additions, nextMethods) { | ||
if (additions === undefined) additions = {}; | ||
return uncontrollable(newComponent, _extends({}, controlledValues, additions), nextMethods); | ||
}; | ||
return component; | ||
@@ -114,0 +124,0 @@ |
{ | ||
"name": "uncontrollable", | ||
"version": "3.1.4", | ||
"version": "3.2.0", | ||
"description": "Wrap a controlled react component, to allow specific prop/handler pairs to be uncontrolled", | ||
@@ -5,0 +5,0 @@ "author": { |
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
18881
223