1.0.1 • Published 5 years ago

react-auto-scroller v1.0.1

Weekly downloads
1
License
Apache-2.0
Repository
github
Last release
5 years ago

React Auto Scroller

  • Horizontal auto scroller
  • Detects whether or not the list is long enough to scroll
  • Mobile friendly.

Install

npm install --save react-auto-scroller

Usage

 import AutoScroller from 'react-auto-scroller'
 
  <AutoScroller speedMod={}> 'your list'</AutoScroller>
  • Currently only takes one prop - speedMod=. Default is set to 0.10 I would suggest working with increments of .01

Soon to Come

  • scrolling optimization
  • additional props, i.e: div and item size, colors for arrows, vertical or horizontal
  • vertical mode

License

Apache 2.0