MotiPressable - onKeyDown / onKeyUp
Closed this issue · 2 comments
louisholley commented
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
nandorojo commented
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
louisholley commented
@nandorojo sweet, thanks so much! #205