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