react-outside-click-detector
v1.0.3
Published
NPM Pkg to detect if the click happened outside of a component
Downloads
150
Maintainers
Readme
A wrapper component for react which detects if a click event has happened outside of its children and does action according to it. Also, it accomodates exceptions (string as id attribute or HTML div or span element) which won't run the click detection action.