react-hotkeys-hook
Advanced tools
Comparing version 1.1.0 to 1.1.1
{ | ||
"name": "react-hotkeys-hook", | ||
"description": "React hook for using keyboard shortcuts in components. This is a hook version for the [hotkeys] package.", | ||
"version": "1.1.0", | ||
"version": "1.1.1", | ||
"license": "MIT", | ||
@@ -6,0 +6,0 @@ "source": "dist-src/index.js", |
@@ -24,3 +24,3 @@ # react-hotkeys-hook | ||
const [count, setCount] = useState(0); | ||
useHotKeys('ctrl+k', () => setCount(count + 1)); | ||
useHotkeys('ctrl+k', () => setCount(count + 1)); | ||
@@ -39,3 +39,3 @@ return ( | ||
const [count, setCount] = useState(0); | ||
useHotKeys('ctrl+k', () => setCount(count + 1)); | ||
useHotkeys('ctrl+k', () => setCount(count + 1)); | ||
@@ -42,0 +42,0 @@ return ( |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
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