@os-design/use-key-press
Advanced tools
Comparing version 1.0.13 to 1.0.14
@@ -7,4 +7,4 @@ "use strict"; | ||
exports["default"] = void 0; | ||
var _useEvent = _interopRequireDefault(require("@os-design/use-event")); | ||
var _react = require("react"); | ||
var _useEvent = _interopRequireDefault(require("@os-design/use-event")); | ||
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; } | ||
@@ -11,0 +11,0 @@ var useKeyPress = function useKeyPress(target, keys, listener) { |
@@ -0,3 +1,3 @@ | ||
import useEvent from '@os-design/use-event'; | ||
import { useCallback, useEffect, useRef } from 'react'; | ||
import useEvent from '@os-design/use-event'; | ||
const useKeyPress = (target, keys, listener) => { | ||
@@ -4,0 +4,0 @@ const keysRef = useRef(); |
{ | ||
"name": "@os-design/use-key-press", | ||
"version": "1.0.13", | ||
"version": "1.0.14", | ||
"license": "UNLICENSED", | ||
@@ -37,3 +37,3 @@ "repository": "git@gitlab.com:os-team/libs/os-design.git", | ||
}, | ||
"gitHead": "88df07f5c7c0c5534a24b84689854528fa514153" | ||
"gitHead": "0e88d3afc41e36cee61222a039ef1aa4d08115b5" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
8364