@tntd/react-click-outside
v1.1.2
Published
ClickOutside component for React
Downloads
167
Readme
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