react-native-reanimated-image-viewer
Version:
A image viewer for React Native created with Reanimated
10 lines (9 loc) • 324 B
TypeScript
/// <reference types="react" />
export type ImageViewerProps = {
imageUrl: string;
width: number;
height: number;
onRequestClose: () => unknown;
onSingleTap?: () => unknown;
};
export default function ImageViewer({ imageUrl, width, height, onSingleTap, onRequestClose, }: ImageViewerProps): JSX.Element;