@gorhom/bottom-sheet
Version:
A performant interactive bottom sheet with fully configurable options 🚀
10 lines (9 loc) • 442 B
TypeScript
/// <reference types="react" />
import type { Scrollable } from '../types';
export declare const useScrollHandler: (useScrollEventsHandlers?: import("../types").ScrollEventsHandlersHookType) => {
scrollHandler: (event: import("react-native").NativeSyntheticEvent<import("react-native").NativeScrollEvent>) => void;
scrollableRef: import("react").RefObject<Scrollable>;
scrollableContentOffsetY: {
value: number;
};
};