react-native-zoom-toolkit
Version:
Smoothly zoom any image, video or component you want!
10 lines • 387 B
TypeScript
import { SwipeDirection, type PanGestureEvent, type Vector } from '../types';
type SwipeOptions = {
time: number;
boundaries: Vector<number>;
position: Vector<number>;
translate: Vector<number>;
};
export declare const getSwipeDirection: (e: PanGestureEvent, options: SwipeOptions) => SwipeDirection | undefined;
export {};
//# sourceMappingURL=getSwipeDirection.d.ts.map