@openspacelabs/react-native-zoomable-view
Version:
A view component for react-native with pinch to zoom, tap to move and double tap to zoom capability.
6 lines (5 loc) • 465 B
TypeScript
import { Animated } from 'react-native';
import { Vec2D } from '../typings';
export declare function getBoundaryCrossedAnim(animValue: Animated.Value, toValue: number): Animated.CompositeAnimation;
export declare function getPanMomentumDecayAnim(animValue: Animated.Value | Animated.ValueXY, velocity: number | Vec2D): Animated.CompositeAnimation;
export declare function getZoomToAnimation(animValue: Animated.Value, toValue: number): Animated.CompositeAnimation;