UNPKG

1.08 kBTypeScriptView Raw
1import type { ILayoutAnimationBuilder, LayoutAnimationFunction } from '../animationBuilder/commonTypes';
2import { BaseAnimationBuilder } from '../animationBuilder';
3/**
4 * Transforms layout starting from the X-axis and width first, followed by the
5 * Y-axis and height. You can modify the behavior by chaining methods like
6 * `.springify()` or `.duration(500)`.
7 *
8 * You pass it to the `layout` prop on [an Animated
9 * component](https://docs.swmansion.com/react-native-reanimated/docs/fundamentals/glossary#animated-component).
10 *
11 * @see https://docs.swmansion.com/react-native-reanimated/docs/layout-animations/layout-transitions#sequenced-transition
12 */
13export declare class SequencedTransition extends BaseAnimationBuilder implements ILayoutAnimationBuilder {
14 static presetName: string;
15 reversed: boolean;
16 static createInstance<T extends typeof BaseAnimationBuilder>(this: T): InstanceType<T>;
17 static reverse(): SequencedTransition;
18 reverse(): SequencedTransition;
19 build: () => LayoutAnimationFunction;
20}
21//# sourceMappingURL=SequencedTransition.d.ts.map
\No newline at end of file