/react-key-collector

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

Primary LanguageJavaScriptMIT LicenseMIT

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.