zeus2198/react-swipezor

Mis-typed "onSwipeDone" prop.

Opened this issue · 0 comments

First of all, Thank you for an amazing module! I absolutely love it!

On version 1.0.6, the "onSwipeDone" prop is typed with "function" and it should be "Function". The mis-type causes an error to appear when type-checking is on.

I would like to submit a pull request, but upon forking the project, I can only find the .js and .d.ts files. I cannot find the .tsx file to actually fix it. I am pretty new to forking and submitting pull requests, so I am not sure if this is normal. I just believe that if it is not fixed in the .tsx file, it will revert every time it is built? I am very open to instruction or information so that I can help.

Thank you again for all of your work!