UNPKG

react-native-reanimated-carousel

Version:

Simple carousel component.fully implemented using Reanimated 2.Infinitely scrolling, very smooth.

11 lines (10 loc) 235 B
export function computeOffsetIfSizeChanged(params) { "worklet"; const { handlerOffset, prevSize, size } = params; return handlerOffset / prevSize * size; } //# sourceMappingURL=compute-offset-if-size-changed.js.map