UNPKG

905 BTypeScriptView Raw
1import type { AnimatableValue, ReduceMotion } from '../commonTypes';
2/**
3 * Lets you run animations in a sequence.
4 *
5 * @param reduceMotion - Determines how the animation responds to the device's
6 * reduced motion accessibility setting. Default to `ReduceMotion.System` -
7 * {@link ReduceMotion}.
8 * @param animations - Any number of animation objects to be run in a sequence.
9 * @returns An [animation
10 * object](https://docs.swmansion.com/react-native-reanimated/docs/fundamentals/glossary#animation-object)
11 * which holds the current state of the animation/
12 * @see https://docs.swmansion.com/react-native-reanimated/docs/animations/withSequence
13 */
14export declare function withSequence<T extends AnimatableValue>(_reduceMotion: ReduceMotion, ...animations: T[]): T;
15export declare function withSequence<T extends AnimatableValue>(...animations: T[]): T;
16//# sourceMappingURL=sequence.d.ts.map
\No newline at end of file