react-hook-click-outside (npm): This is a React hook to detect click outside of the target(s) elements.
Keywords: react|react-hook|hook|click