UNPKG

react-native-redash

Version:
6 lines (5 loc) 240 B
/** * @summary Select a point where the animation should snap to given the value of the gesture and it's velocity. * @worklet */ export declare const snapPoint: (value: number, velocity: number, points: ReadonlyArray<number>) => number;