React useHammer Hooks
Install
npm install --save use-hammer
Usage
API
useHammer
Prop | Type | Required | Description |
---|---|---|---|
onHammer |
Function | ✓ | Execute onHammer Function |
second |
number | [Default:700ms] Millisecond |
License
MIT © snyung
This hook is created using create-react-hook.