Get unlimited public & private packages + team-based management with npm Teams.Learn more »

@okunishinishi/react-click-outside

1.1.1 • Public • Published

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

Install

npm i @okunishinishi/react-click-outside

DownloadsWeekly Downloads

1,108

Version

1.1.1

License

MIT

Unpacked Size

18 kB

Total Files

17

Last publish

Collaborators

  • avatar