1.0.1 • Published 1 year ago
react-outclick-handler v1.0.1
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>
);
}