Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

react-hotkeys-hook

Package Overview
Dependencies
Maintainers
1
Versions
113
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-hotkeys-hook - npm Package Compare versions

Comparing version 0.1.4 to 1.0.0

dist/example.f69400ca.js

2

package.json
{
"name": "react-hotkeys-hook",
"version": "0.1.4",
"version": "1.0.0",
"main": "dist/index.js",

@@ -5,0 +5,0 @@ "typings": "dist/index.d.ts",

@@ -55,7 +55,7 @@ # react-hotkeys-hook

```typescript
useHotkey(keys: string, callback: (event: KeyboardEvent, handler: HotkeysEvent) => void)
useHotkeys(keys: string, callback: (event: KeyboardEvent, handler: HotkeysEvent) => void)
```
The `useHotkey` hook follows the [hotkeys] call signature.
The callback function takes the exact parameters as the callback function in the hotkeys-js package.
The `useHotkeys` hook follows the [hotkeys] call signature.
The callback function takes the exact parameters as the callback function in the hotkeys package.
See [hotkeys] documentation for more info or look into the typings file.

@@ -62,0 +62,0 @@

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc