useClickAnyWhere
A hook to click anywhere
Loading...
Installation
npx shadcn@latest add @shadcnhooks/use-click-any-whereAPI
/**
* A hook to click anywhere
* @param handler - The handler to call when the user clicks anywhere
*/
export function useClickAnyWhere(handler: (event: MouseEvent) => void): voidCredits
Last updated on