Skip to content

Latest commit

 

History

History
29 lines (19 loc) · 593 Bytes

Readme.md

File metadata and controls

29 lines (19 loc) · 593 Bytes

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