1.1.2 • Published 4 years ago
@tntd/react-click-outside v1.1.2
ClickOutside
React click outside component.
Installation
$ npm install @tntd/react-click-outside --save-dev
Example
<ClickOutside onClickOutside={::this.close}>
<p>Im a menu or something that you want to hide when clicking outside.</p>
</ClickOutside>
Badges