UNPKG

mukul-react-hooks

Version:

A comprehensive collection of custom React hooks for modern web development. Includes utilities for fullscreen management, media queries, timeouts, scroll detection, and unsaved change alerts. Built with TypeScript for type safety and optimized for tree-s

7 lines 291 B
/** * Custom React hook to determine if the user is at the top of the page. * @returns {boolean} Returns true if the user is at the top of the page, otherwise false. */ declare function useIsTopOfPage(): boolean; export default useIsTopOfPage; //# sourceMappingURL=useIsTopOfPage.d.ts.map