keydown-from-click
Advanced tools
Comparing version
{ | ||
"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> |
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
0
-100%16778
-0.05%