Its not letting me install react-native-deck-swiper or react-native-animated npm ERR! ERESOLVE unable to resolve dependency tree npm ERR! While resolving: undefined@undefined npm ERR! Found: react@17.0.1 npm ERR! node_modules/react npm ERR! react@"17.0.1" from the root project
Here is the answer: onSwipedLeft func function to be called when a card is swiped left. it receives the swiped card index onSwipedRight func function to be called when a card is swiped right. it receives the swiped card index