1.0.3 • Published 2 years ago

customs-hooks v1.0.3

Weekly downloads
-
License
ISC
Repository
github
Last release
2 years ago

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()
1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago