UNPKG

943 BTypeScriptView Raw
1import type { ILayoutAnimationBuilder, LayoutAnimationFunction } from '../animationBuilder/commonTypes';
2import { BaseAnimationBuilder } from '../animationBuilder';
3/**
4 * Fades out components from one position and shows them in another. You can
5 * modify the behavior by chaining methods like `.duration(500)` or
6 * `.delay(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#fading-transition
12 */
13export declare class FadingTransition extends BaseAnimationBuilder implements ILayoutAnimationBuilder {
14 static presetName: string;
15 static createInstance<T extends typeof BaseAnimationBuilder>(this: T): InstanceType<T>;
16 build: () => LayoutAnimationFunction;
17}
18//# sourceMappingURL=FadingTransition.d.ts.map
\No newline at end of file