react-native-zoom-toolkit
Version:
Smoothly zoom any image, video or component you want!
17 lines • 695 B
TypeScript
import React from 'react';
import type { SharedValue } from 'react-native-reanimated';
import type { SizeVector, Vector } from '../../commons/types';
export type GalleryContextType = {
rootSize: SizeVector<SharedValue<number>>;
rootChildSize: SizeVector<SharedValue<number>>;
translate: Vector<SharedValue<number>>;
scroll: SharedValue<number>;
scrollOffset: SharedValue<number>;
scale: SharedValue<number>;
activeIndex: SharedValue<number>;
fetchIndex: SharedValue<number>;
isScrolling: SharedValue<boolean>;
hasZoomed: SharedValue<boolean>;
};
export declare const GalleryContext: React.Context<GalleryContextType>;
//# sourceMappingURL=context.d.ts.map