Hook to detect clicks outside of specified elements
Array of refs to check if click is outside
Callback to execute when click is detected outside. Receives the event of the click.
Whether the hook is active (default: true)
Hook to detect clicks outside of specified elements