UNPKG

@barguide/react-hooks

Version:
14 lines (13 loc) 405 B
/** * @name useCheckoutLoader * @description We use the "effect" hook to add/remove an "emitter" instance * to our Modal component. By passing the "setter" from our React State we * can get a live subscription to the state */ declare const useScrollDirection: () => { bottom: boolean; direction: boolean; position: number; top: boolean; }; export { useScrollDirection };