UNPKG

next-csrf

Version:

CSRF mitigation library for Next.js

2 lines (1 loc) 127 B
export declare function useOnClickOutside(el: Node | null, handler: ((e: MouseEvent | TouchEvent) => void) | undefined): void;