react-native-gallery-preview
Version:
<div> <img align="right" height="720" src="example.gif"> </div>
33 lines • 1.38 kB
TypeScript
import React, { PropsWithChildren } from "react";
import { SharedValue } from "react-native-reanimated";
import { SpringConfig } from "react-native-reanimated/lib/typescript/animation/springUtils";
interface GestureItemComponentProps extends PropsWithChildren {
index: number;
currentIndex: SharedValue<number>;
isFirst: boolean;
isLast: boolean;
rootTranslateX: SharedValue<number>;
opacity: SharedValue<number>;
width: number;
height: number;
dataLength: number;
gap: number;
onClose: () => void;
setIsFocused: (val: boolean) => void;
isFocused: boolean;
springConfig: SpringConfig;
maxScale: number;
doubleTabEnabled: boolean;
pinchEnabled: boolean;
swipeToCloseEnabled: boolean;
rtl?: boolean;
contentCenterX: number;
contentCenterY: number;
contentContainerSize: {
width: number;
height: number;
};
}
export declare const GestureItemComponent: React.MemoExoticComponent<({ children, index, currentIndex, isFirst, isLast, rootTranslateX, opacity, dataLength, width, height, gap, onClose, setIsFocused, isFocused, maxScale, springConfig, doubleTabEnabled, swipeToCloseEnabled, pinchEnabled, rtl, contentCenterX, contentCenterY, contentContainerSize, }: GestureItemComponentProps) => React.JSX.Element>;
export {};
//# sourceMappingURL=GestureItemComponent.d.ts.map