@yamada-ui/use-outside-click
Advanced tools
Comparing version 0.1.3 to 0.1.4
@@ -6,4 +6,4 @@ type UseOutsideClickProps = { | ||
}; | ||
declare const useOutsideClick: ({ ref, handler, enabled }: UseOutsideClickProps) => void; | ||
declare const useOutsideClick: ({ ref, handler, enabled, }: UseOutsideClickProps) => void; | ||
export { UseOutsideClickProps, useOutsideClick }; |
@@ -28,3 +28,7 @@ "use strict"; | ||
var import_react = require("react"); | ||
var useOutsideClick = ({ ref, handler, enabled = true }) => { | ||
var useOutsideClick = ({ | ||
ref, | ||
handler, | ||
enabled = true | ||
}) => { | ||
const handlerRef = (0, import_utils.useCallbackRef)(handler); | ||
@@ -31,0 +35,0 @@ const state = (0, import_react.useRef)({ |
{ | ||
"name": "@yamada-ui/use-outside-click", | ||
"version": "0.1.3", | ||
"version": "0.1.4", | ||
"description": "Yamada UI useOutsideClick custom hook", | ||
@@ -27,3 +27,3 @@ "keywords": [ | ||
"dependencies": { | ||
"@yamada-ui/utils": "0.1.3" | ||
"@yamada-ui/utils": "0.1.4" | ||
}, | ||
@@ -30,0 +30,0 @@ "devDependencies": { |
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
8732
159
+ Added@yamada-ui/utils@0.1.4(transitive)
- Removed@yamada-ui/utils@0.1.3(transitive)
Updated@yamada-ui/utils@0.1.4