1.1.0 • Published 5 years ago
use-key-debugger v1.1.0
install
npm install use-key-debugger
usage
import useKeyDebugger from 'use-key-debugger'
function App() {
const Key = useKeyDebugger()
return (
<div>
<Key />
<h2>Hit any key to see debugger</h2>
</div>
)
}
like it?
:star: this repo
license
MIT © siddharthkp