@likashefqet/react-native-image-zoom
Version:
A performant zoomable image written in Reanimated v2+ 🚀
7 lines • 648 B
TypeScript
import { AnimatableValue, AnimationCallback } from 'react-native-reanimated';
import { ANIMATION_VALUE, type OnResetAnimationEndCallback } from '../types';
export type OnAnimationEndCallback = AnimationCallback extends (...a: infer I) => infer O ? (interactionId: string, value: ANIMATION_VALUE, lastValue: number, ...a: I) => O : never;
export declare const useAnimationEnd: (onResetAnimationEnd?: OnResetAnimationEndCallback) => {
onAnimationEnd: (interactionId: string, value: ANIMATION_VALUE, lastValue: number, finished?: boolean | undefined, current?: AnimatableValue | undefined) => void;
};
//# sourceMappingURL=useAnimationEnd.d.ts.map