Detects clicks outside of a given element.
An example can be found with the <FamilyButton /> component.
<FamilyButton />
Run the following command:
npx ever-ui-clx@0.2.1 add demo-use-click-outside # └──> Hook coming soon.