Skip to content
This repository has been archived by the owner on Apr 6, 2022. It is now read-only.

Latest commit

 

History

History
17 lines (11 loc) · 348 Bytes

README.md

File metadata and controls

17 lines (11 loc) · 348 Bytes

useOnScroll

useOnScroll executes a callback when users scroll

Usage

import { useOnScroll } from '@flywire/react-hooks';

useOnScroll(callback);

Config

Key Description
callback Function to execute when users scroll.