React component to add a smooth scroll effect
npm install react-use-smooth-scroll> React Provider Component to add a smooth scroll effect 😍
 
Live demo: https://react-smooth-scroll-effect.netlify.app/
``bash`
npm install --save react-use-smooth-scroll
`jsx
import React from 'react'
import { UseEffectScroll } from 'react-use-smooth-scroll'
import 'react-use-smooth-scroll/dist/index.css'
const App = () => {
return (
Section 1
Section 2
Section 3
Section 4
)
}
export default App
``
MIT © saidMounaim