react-native-zoom-toolkit
Version:
Smoothly zoom any image, video or component you want!
23 lines • 1.13 kB
TypeScript
import React from 'react';
import { type SharedValue } from 'react-native-reanimated';
import { type GalleryProps } from './types';
import { PinchCenteringMode } from '../../commons/types';
type ReflectionProps = {
length: number;
maxScale: SharedValue<number>;
itemSize: Readonly<SharedValue<number>>;
vertical: boolean;
tapOnEdgeToItem: boolean;
allowPinchPanning: boolean;
pinchCenteringMode: PinchCenteringMode;
onTap?: GalleryProps['onTap'];
onPanStart?: GalleryProps['onPanStart'];
onPanEnd?: GalleryProps['onPanEnd'];
onPinchStart?: GalleryProps['onPinchStart'];
onPinchEnd?: GalleryProps['onPinchEnd'];
onSwipe?: GalleryProps['onSwipe'];
onVerticalPull?: GalleryProps['onVerticalPull'];
};
declare const _default: React.MemoExoticComponent<({ length, maxScale, itemSize, vertical, tapOnEdgeToItem, allowPinchPanning, pinchCenteringMode, onTap, onPanStart, onPanEnd, onPinchStart: onUserPinchStart, onPinchEnd: onUserPinchEnd, onSwipe: onUserSwipe, onVerticalPull, }: ReflectionProps) => JSX.Element>;
export default _default;
//# sourceMappingURL=Reflection.d.ts.map