NB - 2.1.2
RN - 0.43.3
React - 16.0.0-alpha.6
This is not really a bug, but it's unclear from the documentation and there are no parameters for onSwipeLeft/onSwipeRight.
Let's say I want to do something to the card getting swiped - how do I know which got swiped? Is there a way to get a reference to the element?
It looks like currently, both functions don't pass any parameters. However, there is already a selectedItem property in the state so I assume it would be a very quick fix.
Let it merge! 馃槃
Let it merge!
cc @shivrajkumar
Fixed with 2.1.5
Most helpful comment
It looks like currently, both functions don't pass any parameters. However, there is already a
selectedItemproperty in thestateso I assume it would be a very quick fix.