Closed rohankm closed 6 months ago
@rohankm this is probably a bit late for you but sharing in case it helps anyone else - it looks like the example in the readme is off. beginDrag
is the 4th param not 3rd so you're probably accessing the active
value not beginDrag
from FlashDragList.tsx :
renderItem: (
item: any,
index: number,
active: boolean,
beginDrag: () => any
) => JSX.Element;```
Hello, yes, the issue was a mistake in the README. We updated it according to the actual library.
Hi,
Begin drag is not a function its just returning a boolean value