UNPKG

react-use-sticky

Version:

Observe when DOM element enters or leaves sticky state

41 lines (40 loc) 1.05 kB
{ "name": "react-use-sticky", "version": "0.1.4", "description": "Observe when DOM element enters or leaves sticky state", "main": "dist/index.js", "peerDependencies": { "react": "^16.8.0" }, "scripts": { "test": "echo \"Error: no test specified\" && exit 1", "build": "tsc" }, "repository": { "type": "git", "url": "git+https://github.com/robinJonsson/react-use-sticky.git" }, "keywords": [ "react", "hooks", "sticky", "css-position-sticky", "position" ], "author": "Robin Jonsson", "license": "MIT", "bugs": { "url": "https://github.com/robinJonsson/react-use-sticky/issues" }, "homepage": "https://github.com/robinJonsson/react-use-sticky#readme", "devDependencies": { "@types/react": "^17.0.37", "@types/react-dom": "^17.0.11", "@typescript-eslint/eslint-plugin": "^5.4.0", "@typescript-eslint/parser": "^5.4.0", "eslint": "^8.3.0", "eslint-plugin-react": "^7.27.1", "eslint-plugin-react-hooks": "^4.3.0", "typescript": "^4.5.2" } }