@pastable/use-click-away (npm): Detect and invoke a callback when clicking away of target element.
Keywords: pastable|snippets|reusable|utils|tiny|lodash|gists|typescript|react|hook|custom|state