Skip to content

Latest commit

 

History

History
33 lines (22 loc) · 820 Bytes

README.md

File metadata and controls

33 lines (22 loc) · 820 Bytes

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

});