react-toukey-hook
TypeScript icon, indicating that this package has built-in type declarations

0.0.3 • Public • Published

react-toukey-hook

NPM npm

Install

npm i react-toukey-hook -S

or

pnpm add react-toukey-hoos -S

Basic Use

import { useToukey } from "react-toukey-hook";

function App() {
  useTouke("space", () => {
    console.log("space pressed");
  });
  return <div>hello world</div>;
}

Package Sidebar

Install

npm i react-toukey-hook

Weekly Downloads

4

Version

0.0.3

License

MIT

Unpacked Size

23.7 kB

Total Files

15

Last publish

Collaborators

  • yukiniro