UNPKG

react-native-zoom-toolkit

Version:

Smoothly zoom any image, video or component you want!

5 lines (4 loc) 124 B
export const friction = (overScrollFraction: number) => { 'worklet'; return 1 * Math.pow(1 - overScrollFraction, 2); };