Skip to content

A small library allows to handle multiple key stroke events in react 🔑

License

Notifications You must be signed in to change notification settings

simbathesailor/react-key-collector

Repository files navigation

A library to react to key presses using react hooks 💥 💥

High level overview: You pass in keycodes (for now) and callback to the function exposed. Whenever the all the keys are pressed, callback will be called.

Note: It's still not ready to be consumed. Some tasks are pending:

Tasks

  1. adding support for the ordering of keys.
  2. Adding support for getting list of all the shortcuts.
  3. Need to add examples.

About

A small library allows to handle multiple key stroke events in react 🔑

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published