1.0.2 • Published 4 years ago

react-smooth-scrolling v1.0.2

Weekly downloads
84
License
MIT
Repository
github
Last release
4 years ago

React Smooth Scrolling

Live preview here

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.

1.0.2

4 years ago

1.0.0

4 years ago