Installation
npm install --save @types/react-click-outside-hook
Summary
This package contains type definitions for react-click-outside-hook (https://github.com/bdeloeste/react-click-outside-hook#readme).
Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react-click-outside-hook.
index.d.ts
export type HookReturnTuple = [((node?: Element | null) => void), boolean];
export function useClickOutside(): HookReturnTuple;
Additional Details
- Last updated: Wed, 03 Jan 2024 01:30:15 GMT
- Dependencies: none
Credits
These definitions were written by Bryan Deloeste.