use-hotkey-mapper
TypeScript icon, indicating that this package has built-in type declarations

1.0.4 • Public • Published

use-hotkey-mapper

Installing:

pnpm i use-hotkey-mapper

code sample:

import useHotkeyMapper from "use-hotkey-mapper";
export default function App() {
  useHotkeyMapper({
    "alt+h": () => alert("hello"),
  });
  return <>press alt+h to say hello</>;
}

Readme

Keywords

none

Package Sidebar

Install

npm i use-hotkey-mapper

Weekly Downloads

1

Version

1.0.4

License

ISC

Unpacked Size

2.42 kB

Total Files

5

Last publish

Collaborators

  • snomiao