ryanhefner / react-scroll-trigger

📜 React component that monitors scroll events to trigger callbacks when it enters, exits and progresses through the viewport. All callback include the progress and velocity of the scrolling, in the event you want to manipulate stuff based on those values.
https://www.pkgstats.com/pkg:react-scroll-trigger
MIT License
129 stars 17 forks source link

Update typescript definition for component #148

Closed bcole808 closed 2 years ago

bcole808 commented 3 years ago

Update the typescript definition file to fix the Typescript issue report in:

https://github.com/ryanhefner/react-scroll-trigger/issues/132

ryanhefner commented 2 years ago

Thanks, @bcole808!