New to contributing to open source, so let me know if I've done something wrong.
This adds a keyboard event listener hook that will listen for spacebar, arrow left, and arrow right to pause/play, previous, and next track respectively.
I noticed we are using a version of React above 16.8, so hooks should be supported, but wasn't sure if they were desired from a code style standpoint.
New to contributing to open source, so let me know if I've done something wrong.
This adds a keyboard event listener hook that will listen for spacebar, arrow left, and arrow right to pause/play, previous, and next track respectively.
I noticed we are using a version of React above 16.8, so hooks should be supported, but wasn't sure if they were desired from a code style standpoint.