react-native-zoom-anything
Version:
A lightweight pinch-to-zoom, pan, and double-tap zoom view for React Native using react-native-gesture-handler + Animated.
13 lines (12 loc) • 414 B
TypeScript
import React from 'react';
import { type ViewProps } from 'react-native';
export type ZoomProps = {
readonly children?: React.ReactElement<{
onLayout: ViewProps['onLayout'];
}>;
readonly minZoom?: number;
readonly maxZoom?: number;
readonly style?: ViewProps['style'];
};
declare const Zoom: ({ children, minZoom, maxZoom, style }: ZoomProps) => React.JSX.Element;
export default Zoom;