UNPKG

@types/react-click-outside

Version:
26 lines (18 loc) 975 B
# Installation > `npm install --save @types/react-click-outside` # Summary This package contains type definitions for react-click-outside (https://github.com/kentor/react-click-outside). # Details Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react-click-outside. ## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react-click-outside/index.d.ts) ````ts import * as React from "react"; declare function enhanceWithClickOutside<C extends React.ComponentClass<any>>(wrappedComponent: C): C; declare namespace enhanceWithClickOutside {} export = enhanceWithClickOutside; ```` ### Additional Details * Last updated: Thu, 28 Dec 2023 21:06:45 GMT * Dependencies: [@types/react](https://npmjs.com/package/@types/react) # Credits These definitions were written by [Christian Rackerseder](https://github.com/screendriver), and [Roman Nuritdinov](https://github.com/Ky6uk).