use-click-away (npm): React hook that triggers a callback when user clicks outside the element.
Keywords: react|hooks|react-hooks|click outside|onclickoutside|click|domout|document|browser|callback