Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@yamada-ui/use-outside-click

Package Overview
Dependencies
Maintainers
1
Versions
549
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@yamada-ui/use-outside-click - npm Package Compare versions

Comparing version 0.1.3 to 0.1.4

2

dist/index.d.ts

@@ -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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc