UNPKG

@j-hooks/use-scroll

Version:

React Hook to get X/Y coordinates of current position of the scroll.

25 lines (24 loc) 530 B
{ "name": "@j-hooks/use-scroll", "version": "1.0.0", "description": "React Hook to get X/Y coordinates of current position of the scroll.", "main": "index.js", "repository": { "type": "git", "url": "https://github.com/Justinhwang92/React_hooks/tree/master/useScroll" }, "keywords": [ "react", "hooks", "scroll", "coords", "x/y", "usescroll" ], "author": "Soonkwon Justin Hwang", "license": "MIT", "peerDependencies": { "react": "^17.0.2", "react-dom": "^17.0.2" } }