UNPKG

beautiful-react-hooks

Version:

A collection of beautiful (and hopefully useful) React hooks to speed-up your components and hooks development

6 lines (5 loc) 214 B
/** * Returns a function that accepts a callback to be performed when the window scrolls. */ declare const useWindowScroll: () => import("./shared/types").CallbackSetter<UIEvent>; export default useWindowScroll;