customs-hooks

1.0.3 • Public • Published

customs-hooks

A ReactJS hooks

How to use it?

You can use the project in this way:

Install

# with npm
npm install customs-hooks

# with yarn
yarn add customs-hooks

Usage

  • Import the package in your app:
import {useWindowSize} from 'customs-hooks'

Hooks

useWindowSize

This hook will give updated width and height of the window on resizing.

const windowSize = useWindowSize()

Readme

Keywords

Package Sidebar

Install

npm i customs-hooks

Weekly Downloads

0

Version

1.0.3

License

ISC

Unpacked Size

1.51 kB

Total Files

3

Last publish

Collaborators

  • aks318