react-repeatable
react-repeatable copied to clipboard
A press and hold wrapper component that can trigger hold action multiple times while holding down.
onPress and onRelease are triggered twice in Android devices. You can see it in your demo, in inspector tools, if you toggle the device to any mobile device, the console...
Love the library! It would be cool to be able to persist the original event so it could be passed to `onHold` so that keyboard modifiers could be used in...
Could you provide a typescript definition file (either here or in https://github.com/DefinitelyTyped/DefinitelyTyped)?