react-native-media-viewing
Version:
React Native modal component for viewing images and video as a sliding gallery
12 lines (11 loc) • 496 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 { NativeSyntheticEvent, NativeScrollEvent } from "react-native";
import { Dimensions } from "../@types";
declare const useImageIndexChange: (imageIndex: number, screen: Dimensions) => readonly [number, (event: NativeSyntheticEvent<NativeScrollEvent>) => void];
export default useImageIndexChange;