UNPKG

react-native-reanimated

Version:

More powerful alternative to Animated library for React Native.

8 lines (7 loc) 572 B
import type { AnimatableValue, AnimatedStyle, NestedObject, NestedObjectValues } from '../commonTypes'; import type { StyleLayoutAnimation } from './commonTypes'; export declare function resolvePath<T>(obj: NestedObject<T>, path: AnimatableValue[] | AnimatableValue): NestedObjectValues<T> | undefined; type Path = Array<string | number> | string | number; export declare function setPath<T>(obj: NestedObject<T>, path: Path, value: NestedObjectValues<T>): void; export declare function withStyleAnimation(styleAnimations: AnimatedStyle): StyleLayoutAnimation; export {};