UNPKG

react-native-reanimated

Version:

More powerful alternative to Animated library for React Native.

14 lines (13 loc) 857 B
import type { ILayoutAnimationBuilder, LayoutAnimationFunction } from '../animationBuilder/commonTypes'; import { BaseAnimationBuilder } from '../animationBuilder'; /** * Layout jumps - quite literally - from one position to another. You can modify the behavior by chaining methods like `.springify()` or `.duration(500)`. * * You pass it to the `layout` prop on [an Animated component](https://docs.swmansion.com/react-native-reanimated/docs/fundamentals/glossary#animated-component). * * @see https://docs.swmansion.com/react-native-reanimated/docs/layout-animations/layout-transitions#jumping-transition */ export declare class JumpingTransition extends BaseAnimationBuilder implements ILayoutAnimationBuilder { static createInstance<T extends typeof BaseAnimationBuilder>(this: T): InstanceType<T>; build: () => LayoutAnimationFunction; }