Skip to content

thecatshidog/react-native-awesome-photoviewer

Repository files navigation

react-native-awesome-photoviewer

Installation

npm install react-native-awesome-photoviewer

for ios

pod install

Usage

import PhotoViewer from "react-native-awesome-photoviewer";

interface IImage {
  thumbnailUrl: string;
  url: string;
}
interface IConfig {
  initialIndex?: number;
  images: IImage[];
}

type AwesomePhotoviewType = {
  open(config: IConfig): Promise<boolean>;
};
PhotoViewer.open({
      initialIndex,
      images,
    });

License

MIT

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •