click-outside-ts
The useClickOutside hook is a custom React hook designed to simplify the implementation of click outside event detection in React components. It provides a straightforward way to detect when a user clicks outside a specified element and trigger a callback
react-dom-event
React context for subscribing to all DOM user interaction events