@types/react-hook-mousetrap
TypeScript icon, indicating that this package has built-in type declarations

2.0.2 • Public • Published

Installation

npm install --save @types/react-hook-mousetrap

Summary

This package contains type definitions for react-hook-mousetrap (https://github.com/olup/react-hook-mousetrap).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react-hook-mousetrap.

index.d.ts

declare function useMousetrap(keys: string | string[], callback: () => void): void;

export default useMousetrap;

Additional Details

  • Last updated: Tue, 07 Nov 2023 09:09:39 GMT
  • Dependencies: none

Credits

These definitions were written by Barry Michael Doyle.

Readme

Keywords

none

Package Sidebar

Install

npm i @types/react-hook-mousetrap

Weekly Downloads

2,317

Version

2.0.2

License

MIT

Unpacked Size

2.9 kB

Total Files

5

Last publish

Collaborators

  • types