UNPKG

react-native-zoom-toolkit

Version:

Most complete set of pinch to zoom utilites for React Native

39 lines 1.71 kB
import React from 'react'; import type { CommonZoomState } from '../../commons/types'; import type { ResumableZoomRefType } from './types'; declare const _default: React.ForwardRefExoticComponent<Partial<{ style: import("react-native").ViewStyle; decay: boolean; extendGestures: boolean; tapsEnabled: boolean; panEnabled: boolean; pinchEnabled: boolean; maxScale: number | import("../../commons/types").SizeVector<number>; pinchMode: import("../../commons/types").PinchMode; longPressDuration: number; onSwipe: (direction: import("../../commons/types").SwipeDirection) => void; onUpdate: (e: CommonZoomState<number>) => void; onOverPanning: (x: number, y: number) => void; }> & { children: React.ReactNode; } & Partial<{ onPanStart: import("../../commons/types").PanGestureEventCallback; onPanEnd: import("../../commons/types").PanGestureEventCallback; }> & Partial<{ onPinchStart: import("../../commons/types").PinchGestureEventCallback; onPinchEnd: import("../../commons/types").PinchGestureEventCallback; }> & Partial<{ onLongPress: import("../../commons/types").LongPressGestreEventCallback; }> & Omit<Partial<{ onTap: import("../../commons/types").TapGestureEventCallback; onDoubleTap: import("../../commons/types").TapGestureEventCallback; }>, "onDoubleTap"> & Omit<Partial<{ minScale: number; maxScale: number; panMode: import("../../commons/types").PanMode; scaleMode: import("../../commons/types").ScaleMode; allowPinchPanning: boolean; onGestureEnd: () => void; }>, "maxScale"> & React.RefAttributes<ResumableZoomRefType>>; export default _default; //# sourceMappingURL=ResumableZoom.d.ts.map