1.0.2 • Published 5 years ago
react-smooth-scrolling v1.0.2
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.