@types/react-click-outside-hook
TypeScript icon, indicating that this package has built-in type declarations

1.0.3 • Public • Published

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.

Readme

Keywords

none

Package Sidebar

Install

npm i @types/react-click-outside-hook

Weekly Downloads

1,201

Version

1.0.3

License

MIT

Unpacked Size

2.94 kB

Total Files

5

Last publish

Collaborators

  • types