react-cool-onclickoutside (npm): React hook to listen for clicks outside of the component(s).
Keywords: react|hook|react-hook|onclickoutside-hook|on-click-outside-hook|use|use-onclickoutside|use-on-click-outside|onclickoutside|on-click-outside|click|outside|click-outside|multiple-refs|passive-event-listeners|exclude-scrollbar|typescript|elements