react-native-reanimated
Version:
More powerful alternative to Animated library for React Native.
173 lines • 9.58 kB
TypeScript
import type { AnimationConfigFunction, EntryAnimationsValues, EntryExitAnimationFunction, ExitAnimationsValues, IEntryAnimationBuilder, IEntryExitAnimationBuilder, IExitAnimationBuilder } from '../../commonTypes';
import type { BaseAnimationBuilder } from '../animationBuilder';
import { ComplexAnimationBuilder } from '../animationBuilder';
import type { Perspective, RotateX, RotateY, TransformsConfig, TranslateX, TranslateY } from './types';
/**
* Rotate from top on the X axis. You can modify the behavior by chaining
* methods like `.springify()` or `.duration(500)`.
*
* You pass it to the `entering` 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/entering-exiting-animations#flip
*/
export declare class FlipInXUp extends ComplexAnimationBuilder<TransformsConfig<[Perspective, RotateX, TranslateY]>> implements IEntryAnimationBuilder {
static presetName: string;
static createInstance<T extends typeof BaseAnimationBuilder>(this: T): InstanceType<T>;
build: () => AnimationConfigFunction<EntryAnimationsValues>;
}
/**
* Rotate from left on the Y axis. You can modify the behavior by chaining
* methods like `.springify()` or `.duration(500)`.
*
* You pass it to the `entering` 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/entering-exiting-animations#flip
*/
export declare class FlipInYLeft extends ComplexAnimationBuilder<TransformsConfig<[Perspective, RotateY, TranslateX]>> implements IEntryAnimationBuilder {
static presetName: string;
static createInstance<T extends typeof BaseAnimationBuilder>(this: T): InstanceType<T>;
build: () => AnimationConfigFunction<EntryAnimationsValues>;
}
/**
* Rotate from bottom on the X axis. You can modify the behavior by chaining
* methods like `.springify()` or `.duration(500)`.
*
* You pass it to the `entering` 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/entering-exiting-animations#flip
*/
export declare class FlipInXDown extends ComplexAnimationBuilder<TransformsConfig<[Perspective, RotateX, TranslateY]>> implements IEntryAnimationBuilder {
static presetName: string;
static createInstance<T extends typeof BaseAnimationBuilder>(this: T): InstanceType<T>;
build: () => AnimationConfigFunction<EntryAnimationsValues>;
}
/**
* Rotate from right on the Y axis. You can modify the behavior by chaining
* methods like `.springify()` or `.duration(500)`.
*
* You pass it to the `entering` 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/entering-exiting-animations#flip
*/
export declare class FlipInYRight extends ComplexAnimationBuilder<TransformsConfig<[Perspective, RotateY, TranslateX]>> implements IEntryAnimationBuilder {
static presetName: string;
static createInstance<T extends typeof BaseAnimationBuilder>(this: T): InstanceType<T>;
build: () => AnimationConfigFunction<EntryAnimationsValues>;
}
/**
* Eased rotate in on the X axis. You can modify the behavior by chaining
* methods like `.springify()` or `.duration(500)`.
*
* You pass it to the `entering` 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/entering-exiting-animations#flip
*/
export declare class FlipInEasyX extends ComplexAnimationBuilder<TransformsConfig<[Perspective, RotateX]>> implements IEntryExitAnimationBuilder {
static presetName: string;
static createInstance<T extends typeof BaseAnimationBuilder>(this: T): InstanceType<T>;
build: () => EntryExitAnimationFunction;
}
/**
* Eased rotate in on the Y axis. You can modify the behavior by chaining
* methods like `.springify()` or `.duration(500)`.
*
* You pass it to the `entering` 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/entering-exiting-animations#flip
*/
export declare class FlipInEasyY extends ComplexAnimationBuilder<TransformsConfig<[Perspective, RotateY]>> implements IEntryExitAnimationBuilder {
static presetName: string;
static createInstance<T extends typeof BaseAnimationBuilder>(this: T): InstanceType<T>;
build: () => EntryExitAnimationFunction;
}
/**
* Rotate to top animation on the X axis. You can modify the behavior by
* chaining methods like `.springify()` or `.duration(500)`.
*
* You pass it to the `exiting` 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/entering-exiting-animations#flip
*/
export declare class FlipOutXUp extends ComplexAnimationBuilder<TransformsConfig<[Perspective, RotateX, TranslateY]>> implements IExitAnimationBuilder {
static presetName: string;
static createInstance<T extends typeof BaseAnimationBuilder>(this: T): InstanceType<T>;
build: () => AnimationConfigFunction<ExitAnimationsValues>;
}
/**
* Rotate to left on the Y axis. You can modify the behavior by chaining methods
* like `.springify()` or `.duration(500)`.
*
* You pass it to the `exiting` 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/entering-exiting-animations#flip
*/
export declare class FlipOutYLeft extends ComplexAnimationBuilder<TransformsConfig<[Perspective, RotateY, TranslateX]>> implements IExitAnimationBuilder {
static presetName: string;
static createInstance<T extends typeof BaseAnimationBuilder>(this: T): InstanceType<T>;
build: () => AnimationConfigFunction<ExitAnimationsValues>;
}
/**
* Rotate to bottom on the X axis. You can modify the behavior by chaining
* methods like `.springify()` or `.duration(500)`.
*
* You pass it to the `exiting` 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/entering-exiting-animations#flip
*/
export declare class FlipOutXDown extends ComplexAnimationBuilder<TransformsConfig<[Perspective, RotateX, TranslateY]>> implements IExitAnimationBuilder {
static presetName: string;
static createInstance<T extends typeof BaseAnimationBuilder>(this: T): InstanceType<T>;
build: () => AnimationConfigFunction<ExitAnimationsValues>;
}
/**
* Rotate to right animation on the Y axis. You can modify the behavior by
* chaining methods like `.springify()` or `.duration(500)`.
*
* You pass it to the `exiting` 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/entering-exiting-animations#flip
*/
export declare class FlipOutYRight extends ComplexAnimationBuilder<TransformsConfig<[Perspective, RotateY, TranslateX]>> implements IExitAnimationBuilder {
static presetName: string;
static createInstance<T extends typeof BaseAnimationBuilder>(this: T): InstanceType<T>;
build: () => AnimationConfigFunction<ExitAnimationsValues>;
}
/**
* Eased rotate on the X axis. You can modify the behavior by chaining methods
* like `.springify()` or `.duration(500)`.
*
* You pass it to the `exiting` 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/entering-exiting-animations#flip
*/
export declare class FlipOutEasyX extends ComplexAnimationBuilder<TransformsConfig<[Perspective, RotateX]>> implements IEntryExitAnimationBuilder {
static presetName: string;
static createInstance<T extends typeof BaseAnimationBuilder>(this: T): InstanceType<T>;
build: () => EntryExitAnimationFunction;
}
/**
* Eased rotate on the Y axis. You can modify the behavior by chaining methods
* like `.springify()` or `.duration(500)`.
*
* You pass it to the `exiting` 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/entering-exiting-animations#flip
*/
export declare class FlipOutEasyY extends ComplexAnimationBuilder<TransformsConfig<[Perspective, RotateY]>> implements IEntryExitAnimationBuilder {
static presetName: string;
static createInstance<T extends typeof BaseAnimationBuilder>(this: T): InstanceType<T>;
build: () => EntryExitAnimationFunction;
}
//# sourceMappingURL=Flip.d.ts.map