nandorojo/moti

MotiPressable - onKeyDown / onKeyUp

Closed this issue · 2 comments

we're using MotiPressable for checkboxes and we'd like the spacebar to toggle the state - would it be possible to add onKeyDown / onKeyUp to the props passed to the native touchables in the MotiPressable component? I'd make the PR myself but I'm not sure how to get permissions to do so

yeah i’d accept that. do you know how to make a PR? basically, fork the library, then clone your fork on your computer, create a branch, push to that branch, and then you can click create a PR on github proposing the change

@nandorojo sweet, thanks so much! #205