- useAutoScroll(__namedParameters): {
onContentSizeChangeHandler: ((width, height) => void);
onScrollEndDrag: (() => void);
} Parameters
__namedParameters: {
ref: RefObject<FlatList<any>>;
}
ref: RefObject<FlatList<any>>
Returns {
onContentSizeChangeHandler: ((width, height) => void);
onScrollEndDrag: (() => void);
}
onContentSizeChangeHandler: ((width, height) => void)
- (width, height): void
Parameters
width: number
height: number
Returns void
onScrollEndDrag: (() => void)