how to implement smooth scrolling in react code example Example: smooth scroll react $ npm install react-scroll