@stream-io/flat-list-mvcp
Version:
`maintainVisibleContentPosition` support for Android react-native
9 lines (8 loc) • 463 B
TypeScript
import { MutableRefObject } from 'react';
import { FlatList } from 'react-native';
export declare type maintainVisibleContentPositionPropType = {
autoscrollToTopThreshold?: number | null;
minIndexForVisible: number;
};
export declare const MvcpScrollViewManager: any;
export declare const useMvcpTuner: (flRef: MutableRefObject<FlatList | undefined>, refReady: boolean, mvcp?: maintainVisibleContentPositionPropType | undefined, extraData?: any) => void;