custom-react-ts-hooks
v0.1.0
Published
Custom react typescript hooks
Downloads
1
Maintainers
Readme
Custom React TS hooks
A collection of Custom React hooks written in TypeScript to support proper type declarations.
Installation
yarn add custom-react-ts-hooks
# or
npm add custom-react-ts-hooks
List of Supported Hooks
Usage
Check each hook page for specific usage information and all parameters.
Example usage
import { useEventListener } from 'custom-react-ts-hooks';
...
useEventListener(htmlDivRef,'wheel', (event) => {
});