1.0.1 • Published 3 years ago

react-outclick-handler v1.0.1

Weekly downloads
-
License
ISC
Repository
github
Last release
3 years ago

Install

npm install --save react-outclick-handler

or

yarn add react-outclick-handler

Usage

import OutClick from 'outclick-react';
 
function App() {
  return (
    <OutClick
      Callback={() => {
        alert('You clicked outside of this component!!!');
      }}>
      Hello World
    </OutClick>
  );
}
1.0.1

3 years ago

1.0.0

5 years ago