react-native-reanimated
Version:
More powerful alternative to Animated library for React Native.
5 lines (4 loc) • 319 B
TypeScript
import type { AnimationCallback, AnimatableValue, ReduceMotion } from '../commonTypes';
type withRepeatType = <T extends AnimatableValue>(animation: T, numberOfReps?: number, reverse?: boolean, callback?: AnimationCallback, reduceMotion?: ReduceMotion) => T;
export declare const withRepeat: withRepeatType;
export {};