Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

@react-awesome/use-click-outside

trinhthinh3884.7kMIT0.0.3TypeScript support: included

useClickOutside triggers callback when user clicks on the outside area of an element.

react, hooks, click outside, outside

readme

@react-awesome/use-click-outside

version coverage license build status size

useClickOutside triggers callback when user clicks on the outside area of an element.

Please refer to the documentation for more information.

Installation

yarn add @react-awesome/use-click-outside
# or
npm i @react-awesome/use-click-outside

Contribution

Yes please! See the contributing guidelines for details.

Licence

This project is licensed under the terms of the MIT license.