react-native-gallery-preview
Version:
<div> <img align="right" height="720" src="example.gif"> </div>
9 lines • 359 B
TypeScript
import { GalleryPreviewProps } from "src/types";
type StateType = Pick<GalleryPreviewProps, "isVisible" | "initialIndex">;
export declare const useGalleryPreview: () => {
openGalleryPreview: (imageIndex: number) => void;
closeGalleryPreview: () => void;
galleryPreviewState: StateType;
};
export {};
//# sourceMappingURL=useGalleryPreview.d.ts.map