react-native-awesome-photoviewer
TypeScript icon, indicating that this package has built-in type declarations

0.5.8 • Public • Published

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

Package Sidebar

Install

npm i react-native-awesome-photoviewer

Weekly Downloads

2

Version

0.5.8

License

MIT

Unpacked Size

618 kB

Total Files

105

Last publish

Collaborators

  • thecatshidog