UNPKG

@sook/use-scroll

Version:

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

29 lines (28 loc) 658 B
{ "name": "@sook/use-scroll", "version": "1.1.0", "description": "React Hook to get X/Y coordinates of current position of the scroll.", "main": "index.js", "repository": { "type": "git", "url": "git+https://github.com/sangriaholic/sook.git" }, "keywords": [ "react", "hooks", "scroll", "coords", "x/y", "usescroll" ], "author": "sangriaholic <sangriaholic@gmail.com>", "license": "MIT", "bugs": { "url": "https://github.com/sangriaholic/sook/issues" }, "homepage": "https://github.com/sangriaholic/sook#readme", "peerDependencies": { "react": "^16.12.0", "react-dom": "^16.12.0" } }