react-native-reanimated
Version:
More powerful alternative to Animated library for React Native.
6 lines (5 loc) • 310 B
TypeScript
import type { AnimationCallback, AnimatableValue } from '../commonTypes';
import type { SpringConfig } from './springUtils';
type withSpringType = <T extends AnimatableValue>(toValue: T, userConfig?: SpringConfig, callback?: AnimationCallback) => T;
export declare const withSpring: withSpringType;
export {};