UNPKG

react-useheadroom

Version:

A lightweight custom react hook that returns the state of the pinned/fixed header logic (headroom).

42 lines (41 loc) 1.05 kB
{ "name": "react-useheadroom", "version": "1.4.3", "description": "A lightweight custom react hook that returns the state of the pinned/fixed header logic (headroom).", "main": "index.js", "author": "Ilyass Ben Hakim <ilyassbenhakim2@gmail.com>", "bugs": { "url": "https://github.com/BenHakimIlyass/react-useheadroom/issues" }, "scripts": { "build": "babel src --out-dir .", "test": "react-scripts test" }, "keywords": [ "react", "headroom", "navbar", "nav", "react-nav", "hidden-nav", "react-headroom" ], "license": "MIT", "repository": { "type": "git", "url": "https://github.com/BenHakimIlyass/react-useheadroom" }, "dependencies": {}, "devDependencies": { "@babel/cli": "^7.8.4", "@babel/core": "^7.9.0", "@babel/preset-env": "^7.9.0", "@babel/preset-react": "^7.9.4", "enzyme": "^3.11.0", "enzyme-adapter-react-16": "^1.15.4", "jest": "^26.4.2", "react": "^16.13.1", "react-dom": "^16.13.1", "react-scripts": "^3.4.3" } }