react-native-media-viewing
Version:
React Native modal component for viewing images and video as a sliding gallery
22 lines (21 loc) • 564 B
TypeScript
/**
* Copyright (c) JOB TODAY S.A. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
*/
import { ImageURISource } from "react-native";
export declare type Dimensions = {
width: number;
height: number;
};
export declare type Position = {
x: number;
y: number;
};
export declare type MediaType = "image" | "video";
export interface IMediaSource extends ImageURISource {
mediaType: MediaType;
}
export declare type MediaSource = IMediaSource;