react-native-scrollable-mixin
Advanced tools
Comparing version 0.0.4 to 0.0.5
{ | ||
"name": "react-native-scrollable-mixin", | ||
"version": "0.0.4", | ||
"version": "0.0.5", | ||
"description": "A standard interface for your scrollable React Native components, making it easier to compose components.", | ||
@@ -5,0 +5,0 @@ "main": "ScrollableMixin.js", |
@@ -20,3 +20,3 @@ # ScrollableMixin | ||
Use `Object.assign` to copy ScrollableMixin's functions to your class as static methods. | ||
Use `Object.assign` to copy ScrollableMixin's functions to your class's prototype as instance methods: | ||
@@ -50,4 +50,4 @@ ```js | ||
// Mix in ScrollableMixin's methods as static methods | ||
Object.assign(InfiniteScrollView, ScrollableMixin); | ||
// Mix in ScrollableMixin's methods as instance methods | ||
Object.assign(InfiniteScrollView.prototype, ScrollableMixin); | ||
``` | ||
@@ -54,0 +54,0 @@ |
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
6040