UNPKG

941 BTypeScriptView Raw
1import type { ILayoutAnimationBuilder, LayoutAnimationFunction } from '../animationBuilder/commonTypes';
2import { BaseAnimationBuilder } from '../animationBuilder';
3/**
4 * Layout jumps - quite literally - from one position to another. You can modify
5 * the behavior by chaining methods like `.springify()` or `.duration(500)`.
6 *
7 * You pass it to the `layout` prop on [an Animated
8 * component](https://docs.swmansion.com/react-native-reanimated/docs/fundamentals/glossary#animated-component).
9 *
10 * @see https://docs.swmansion.com/react-native-reanimated/docs/layout-animations/layout-transitions#jumping-transition
11 */
12export declare class JumpingTransition extends BaseAnimationBuilder implements ILayoutAnimationBuilder {
13 static presetName: string;
14 static createInstance<T extends typeof BaseAnimationBuilder>(this: T): InstanceType<T>;
15 build: () => LayoutAnimationFunction;
16}
17//# sourceMappingURL=JumpingTransition.d.ts.map
\No newline at end of file