npm.io
0.1.0 • Published 5 years ago

custom-react-ts-hooks

Licence
MIT
Version
0.1.0
Deps
2
Size
8 kB
Vulns
0
Weekly
0
Stars
1

Custom React TS hooks

A collection of Custom React hooks written in TypeScript to support proper type declarations.

Rahul Tarak GitHub license

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) => {

});

Keywords