react-tiny-scroll
v0.2.0
Published
A simple React component that scrolls slowly.
Downloads
6
Readme
react-tiny-scroll
A simple React component that prevents scrolling of parent element when inner element scroll position reaches top/bottom
Installation
Using npm:
$ npm install --save react-tiny-scroll
Usage
import { TinyScroll } from 'react-tiny-scroll'
render() {
return (
<TinyScroll>
<span>Contents</span>
</TinyScroll>
);
}