@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

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.1.2
    93
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.1.2
    93
  • 1.1.1
    0

Package Sidebar

Install

npm i @tntd/react-click-outside

Weekly Downloads

76

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