@momo-kits/carousel 0.0.20 → 0.0.23-beta-1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/CarouselV2.js +3 -1
  2. package/package.json +1 -1
package/CarouselV2.js CHANGED
@@ -1308,6 +1308,7 @@ Carousel.propTypes = {
1308
1308
  showsPagination: PropTypes.bool,
1309
1309
  isCustomScrollWidth: PropTypes.bool,
1310
1310
  disableIntervalMomentum: PropTypes.bool,
1311
+ useExperimentalSnap: PropTypes.bool,
1311
1312
  onBeforeSnapToItem: PropTypes.func,
1312
1313
  onSnapToItem: PropTypes.func,
1313
1314
  };
@@ -1337,5 +1338,6 @@ Carousel.propTypes = {
1337
1338
  useScrollView: !Animated.FlatList,
1338
1339
  vertical: false,
1339
1340
  isCustomScrollWidth: false,
1340
- disableIntervalMomentum: false
1341
+ disableIntervalMomentum: IS_ANDROID,
1342
+ useExperimentalSnap: IS_ANDROID
1341
1343
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@momo-kits/carousel",
3
- "version": "0.0.20",
3
+ "version": "0.0.23-beta-1",
4
4
  "private": false,
5
5
  "main": "index.js",
6
6
  "dependencies": {