@tntd/react-click-outside

1.1.2 • Public • Published

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

Package Sidebar

Install

npm i @tntd/react-click-outside

Weekly Downloads

21

Version

1.1.2

License

MIT

Unpacked Size

8.84 kB

Total Files

11

Last publish

Collaborators

  • kobingogo
  • mcfly001
  • z337198954
  • td-tnt
  • bruceliu68
  • bernardzhang
  • mizy
  • zhouzefei
  • xiaofei.wang
  • anthonyli
  • popoqaq
  • ezios