meliorence / react-native-snap-carousel

Swiper/carousel component for React Native featuring previews, multiple layouts, parallax images, performant handling of huge numbers of items, and more. Compatible with Android & iOS.
BSD 3-Clause "New" or "Revised" License
10.37k stars 2.29k forks source link

+1 #958

Open DiyarYelbaka opened 2 years ago

DiyarYelbaka commented 2 years ago
    +1

open files ./node_modules/react-native-snap-carousel/src/carousel/Carousel.js ./node_modules/react-native-snap-carousel/src/Pagination/Pagination.js ./node_modules/react-native-snap-carousel/src/Pagination/PaginationDot.js ./node_modules/react-native-snap-carousel/src/ParallaxImage/ParallaxImage.js

edit

import { ... ,ViewPropTypes } from 'react-native';

to

import { ... } from 'react-native';
import {ViewPropTypes} from 'deprecated-react-native-prop-types'; 
  1. 05.17 Edit

edit 1 file => 4 files It Working! can't see warning anymore.

RN 68.1+

https://github.com/facebook/react-native/issues/33557

Originally posted by @RyuWoong in https://github.com/meliorence/react-native-snap-carousel/issues/923#issuecomment-1123267641

ciberbob-007 commented 2 years ago

Guys i already create a fork, because i think something happened with the maintainer of this repo ... try using my solutions on

https://www.npmjs.com/package/react-native-new-snap-carousel

hope this help