Thanks for this awesome module.
const xOffset = new Animated.Value(0);
const onScroll = Animated.event([{ nativeEvent: { contentOffset: { x: xOffset } } }], { useNativeDriver: true });
<ScrollView scrollEventThrottle={16} onScroll={onScroll}>
// ...
</ScrollView>