This package has been deprecated

Author message:

This package is not maintained and doesn't work properly use @aszabacsi/react-scrollto instead!

react-scrollto-animated
TypeScript icon, indicating that this package has built-in type declarations

1.0.5 • Public • Published

react-scrollto

Animated scrolling to anchors

NPM JavaScript Style Guide

Install

npm install --save react-scrollto

Usage

import React, { Component } from 'react'
 
import { Anchored, ScrollTo } from 'react-scrollto'
 
class Example extends Component {
  render () {
    return (
      <div>
        <ScrollTo anchor='first'>
          <button>First</button>
        </ScrollTo>
        <p>Lopus rerolum</p>;
        <Anchored anchor='first'>First</Anchored>;
      </div>
    )
  }
}

License

MIT © aszabacsi

Readme

Keywords

none

Package Sidebar

Install

npm i react-scrollto-animated

Weekly Downloads

0

Version

1.0.5

License

MIT

Unpacked Size

6.42 kB

Total Files

6

Last publish

Collaborators

  • aszabacsi