npm.io

Use outside click Packages

use-close-modal

The useOutsideClick hook is a React utility that allows you to detect when a user clicks outside a specified element (usually a modal or a dropdown) and trigger a callback when such a click is detected. This can be particularly useful for implementing fea

reactuse outside clickoutside clickuseOutsideClickclose modalmodal closemodal-close-handler
1.0.2 • Published 2 years ago

contact@npm.io