react-smooth-scrolling
v1.0.2
Published
React Provider for smooth page scrolling. Inspired by Akram Khalid
Downloads
202
Readme
React Smooth Scrolling
Introduction
This is a React Provider Component which wraps your entire application body and add smooth scrolling effect to it.
Quick Start
import { SmoothProvider } from 'react-smooth-scrolling'
function App() {
return (
<SmoothProvider skew={true} />
<MyCustomPage>
</SmoothProvider>
)
}
Props
ease (optional)
: Stiffness. Default value: 0.1
. Min: 0
; Max: 1
.
skew
: Enable distortion.