react-native-pager-view
Advanced tools
Comparing version 6.3.1 to 6.3.2
@@ -194,3 +194,8 @@ "use strict"; | ||
}); | ||
// React.forwardRef does not type returned component properly, thus breaking Ref<MyComponent> typing. | ||
// One way to overcome this is using separate typing for component "interface", | ||
// but that breaks backward compatibility in this case. | ||
// Approach of merging type is hacky, but produces a good typing for both ref attributes and component itself. | ||
exports.PagerView = PagerView; | ||
//# sourceMappingURL=PagerView.js.map |
@@ -187,2 +187,7 @@ function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); } | ||
}); | ||
// React.forwardRef does not type returned component properly, thus breaking Ref<MyComponent> typing. | ||
// One way to overcome this is using separate typing for component "interface", | ||
// but that breaks backward compatibility in this case. | ||
// Approach of merging type is hacky, but produces a good typing for both ref attributes and component itself. | ||
//# sourceMappingURL=PagerView.js.map |
@@ -74,2 +74,3 @@ import React from 'react'; | ||
} & React.RefAttributes<PagerViewInternal>>; | ||
export type PagerView = PagerViewInternal & typeof PagerView; | ||
export {}; |
{ | ||
"name": "react-native-pager-view", | ||
"version": "6.3.1", | ||
"version": "6.3.2", | ||
"description": "React Native wrapper for Android and iOS ViewPager", | ||
@@ -15,3 +15,3 @@ "main": "lib/commonjs/index", | ||
"ios", | ||
"cpp", | ||
"common", | ||
"react-native-pager-view.podspec", | ||
@@ -59,2 +59,3 @@ "!lib/typescript/example", | ||
"@react-native/eslint-config": "^0.72.2", | ||
"@react-native/metro-config": "^0.72.11", | ||
"@release-it/conventional-changelog": "^2.0.0", | ||
@@ -77,4 +78,3 @@ "@tsconfig/react-native": "^3.0.0", | ||
"release-it": "^14.2.2", | ||
"typescript": "^4.5.2", | ||
"@react-native/metro-config": "^0.72.11" | ||
"typescript": "^4.5.2" | ||
}, | ||
@@ -81,0 +81,0 @@ "resolutions": { |
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
244448
83
1092