UNPKG

react-native-zoom-toolkit

Version:

Smoothly zoom any image, video or component you want!

38 lines 1.8 kB
import React from 'react'; import { PanMode, ScaleMode } from '../../commons/types'; import { CropMode, type CropZoomType } from './types'; declare const _default: React.ForwardRefExoticComponent<{ cropSize: import("../../commons/types").SizeVector<number>; resolution: import("../../commons/types").SizeVector<number>; debug?: boolean | undefined; mode?: CropMode | undefined; onGestureActive?: import("./types").CropGestureEventCallBack | undefined; OverlayComponent?: (() => React.ReactElement<any, string | React.JSXElementConstructor<any>>) | undefined; } & { 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; }> & Omit<Partial<{ onTap: import("../../commons/types").TapGestureEventCallback; onDoubleTap: import("../../commons/types").TapGestureEventCallback; }>, "onDoubleTap"> & Omit<Partial<{ hitSlop: import("react-native-gesture-handler/lib/typescript/handlers/gestureHandlerCommon").HitSlop; timingConfig: Partial<{ duration: number; easing: import("react-native-reanimated").EasingFunction | import("react-native-reanimated").EasingFunctionFactory; reduceMotion: import("react-native-reanimated").ReduceMotion; }>; onGestureEnd: () => void; }>, "hitSlop" | "timingConfig"> & Partial<{ minScale: number; maxScale: number; panMode: PanMode; scaleMode: ScaleMode; allowPinchPanning: boolean; }> & React.RefAttributes<CropZoomType>>; export default _default; //# sourceMappingURL=CropZoom.d.ts.map