react-infinte-scrolling

A infinite scroll element implementation in React using css animation

Usage no npm install needed!

<script type="module">
  import reactInfinteScrolling from 'https://cdn.skypack.dev/react-infinte-scrolling';
</script>

README

react-infinite-scroll

A infinite scroll element implementation in React using css animation

Props

direction

left|right|up|down | defaults to left

Controls the scroll direction.

duration

number | defaults to 10

Set the animation duration

mouserOver

function | defaults to null

mouseOver scroll stop, callback

mouserOut

function | defaults to null

mouseOver scroll running, callback