UNPKG

react-sticky-scroll-spy

Version:
18 lines (10 loc) 357 B
# Reacti Sticky+Scroll spy [React][1] Component that sets a div (or any HTML element) sticky when it's scrolled beyond view. ## Installation % npm i react-sticky-scroll-spy --save ###Build %NODE_ENV=production npm run build ###Debug %npm start ###onFixedChange function is for checking if nav bar is fixed [1]: https://facebook.github.io/react