🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Book a DemoInstallSign in
Socket

keydown-from-click

Package Overview
Dependencies
Maintainers
1
Versions
25
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

keydown-from-click - npm Package Compare versions

Comparing version

to
4.0.2

2

package.json
{
"name": "keydown-from-click",
"version": "4.0.1",
"version": "4.0.2",
"description": "Generate React keydown handlers by replicating click ones",

@@ -5,0 +5,0 @@ "main": "build/index.js",

@@ -26,3 +26,3 @@ import { KeyboardEventHandler, MouseEventHandler } from 'react'

clickHandler: MouseEventHandler<TElement>,
options: Options = {},
options?: Options,
) => KeyboardEventHandler<TElement>

@@ -32,3 +32,3 @@

clickHandler: MouseEventHandler<TElement>,
options: Options & HookOptions = {},
options?: Options & HookOptions,
) => KeyboardEventHandler<TElement>