marekrozmus / react-swipeable-list

Swipeable list component for React supporting several behaviours (e.g. iOS)
https://marekrozmus.github.io/react-swipeable-list/
MIT License
110 stars 20 forks source link

Warning: React does not recognize the X prop on a DOM element #56

Closed gabrielvieiraes closed 10 months ago

gabrielvieiraes commented 10 months ago

Hello I'm getting this warning: "Warning: React does not recognize the X prop on a DOM element. If you intentionally want it to appear in the DOM as a custom attribute, spell it as lowercase actiondelay instead. If you accidentally passed it from a parent component, remove it from the DOM element."

for: actionDelay, destructiveCallbackDelay, fullSwipe, listType, scrollStartThreshold and swipeStartThreshold

marekrozmus commented 10 months ago

Hi, This happens when some props are passed to a HTML node. Please provide a code sample where that happens. I cannot reproduce that. I would need to see how you are using the lib.