README
React hook for visually debugging keyboard events
Forked from (https://github.com/siddharthkp/use-key-debugger)
Demo on CodeSandbox
install
npm install use-multi-key-debugger
usage
import useMultiKeyDebugger from 'use-multi-key-debugger'
function App() {
const Key = useMultiKeyDebugger()
return (
<div>
<Key />
<h2>Hit any key to see debugger</h2>
</div>
)
}
like it?
:star: this repo
license
MIT © bhaskarGyan