react-click-outside-component

ClickOutside component for React

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
react-click-outside-component
1.1.15 years ago6 years agoMinified + gzip package size for react-click-outside-component in KB

Readme

ClickOutside
React click outside component.

Installation

$ npm install tj/react-click-outside

Example

<ClickOutside onClickOutside={::this.close}>
  <p>Im a menu or something that you want to hide when clicking outside.</p>
</ClickOutside>

Badges


tjholowaychuk.com  ·  GitHub @tj  ·  Twitter @tjholowaychuk