1.0.5 • Published 6 years ago
react-scrollto-animated v1.0.5
react-scrollto
Animated scrolling to anchors
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