@gorhom/bottom-sheet
Version:
A performant interactive bottom sheet with fully configurable options 🚀
11 lines • 505 B
TypeScript
import type { Scrollable, ScrollableEvent } from '../types';
export type ScrollEventContextType = {
initialContentOffsetY: number;
shouldLockInitialPosition: boolean;
};
export declare const useScrollHandler: (_: never, onScroll?: ScrollableEvent) => {
scrollHandler: ScrollableEvent | undefined;
scrollableRef: import("react").RefObject<Scrollable>;
scrollableContentOffsetY: import("react-native-reanimated").SharedValue<number>;
};
//# sourceMappingURL=useScrollHandler.web.d.ts.map