meteor-factory / react-native-tinder-swipe-cards

Tinder-like swipe cards for your React Native app
MIT License
1.13k stars 301 forks source link

Locked prop #142

Open Jvheaney opened 4 years ago

Jvheaney commented 4 years ago

I have added a locked prop to disable card movement and swiping when true. This helped in my project, so I wanted to contribute in hopes it would help others. Cheers!

To use it, just add locked or locked={true} to your SwipeCards component.