How to use the react-waypoint.below function in react-waypoint

To help you get started, we’ve selected a few react-waypoint examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github srobinson / unicode-wiki / packages / uw-containers / src / codepoints / codepoints-container.tsx View on Github external
onEnter={({previousPosition}: Waypoint.CallbackArgs) => {
            if (previousPosition === Waypoint.below) {
              this.fetchNextCodepoints()
            }
          }}
          key={codepoints.result.page}

react-waypoint

A React component to execute a function whenever you scroll to an element.

MIT
Latest version published 2 years ago

Package Health Score

64 / 100
Full package analysis