Derived from the internals of https://github.dev/tailwindlabs/headlessui
npm install @whero/use-outside-click
Aiming to add tests etc at some point in life