usehooks icon indicating copy to clipboard operation
usehooks copied to clipboard

useKeyPress doesn't take multiple keys

Open rdeusser opened this issue 1 year ago • 0 comments

Found this hoping I could use multiple keys, but that doesn't seem to be the case.

I've tried the following variations:

useKeyPress("Control k", onKeyPress)
useKeyPress("Control+k", onKeyPress)
useKeyPress("Control + k", onKeyPress)

Am I missing something or does usehooks not support multiple keys?

rdeusser avatar Mar 08 '24 16:03 rdeusser