Neutrino Packing Machine

npm

Need private packages and team management tools?Check out npm Orgs. »

has-scroll-hook

1.0.3 • Public • Published

has-scroll-hook

A boolean scroll position React hook.

Installation:

yarn add has-scroll-hook # Or, npm install has-scroll-hook 

Usage:

import { useHasScroll } from "has-scroll-hook";
 
...
 
function YourComponent() {
  const hasScroll = useHasScroll();
}

install

npm i has-scroll-hook

Downloadsweekly downloads

8

version

1.0.3

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability