LHD HOOKS is a set of react hooks ready for usage.
- install
- import
- use!
LHD HOOKS requires react v16.8.0+ to run.
Install LHD HOOKS with npm.
$ cd my-project
$ npm install lhd-hooks
import hook in components:
import {useSwipe} from 'lhd-hooks';
demo use the mobile version!
You can also help by:
- Add new hooks.
- Suggest hook ideas.
- Improve existing hooks.
Feel free to contribute.