react-native-reanimated
Version:
More powerful alternative to Animated library for React Native.
228 lines • 11.6 kB
TypeScript
import type { IEntryExitAnimationBuilder, EntryExitAnimationFunction, EntryAnimationsValues, ExitAnimationsValues, AnimationConfigFunction, IEntryAnimationBuilder, IExitAnimationBuilder } from '../animationBuilder/commonTypes';
import type { BaseAnimationBuilder } from '../animationBuilder';
import { ComplexAnimationBuilder } from '../animationBuilder';
/**
* Scale from center animation. 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/#zoom
*/
export declare class ZoomIn extends ComplexAnimationBuilder implements IEntryExitAnimationBuilder {
static presetName: string;
static createInstance<T extends typeof BaseAnimationBuilder>(this: T): InstanceType<T>;
build: () => EntryExitAnimationFunction;
}
/**
* Scale from center with rotation. 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/#zoom
*/
export declare class ZoomInRotate extends ComplexAnimationBuilder implements IEntryExitAnimationBuilder {
static presetName: string;
static createInstance<T extends typeof BaseAnimationBuilder>(this: T): InstanceType<T>;
build: () => EntryExitAnimationFunction;
}
/**
* Scale from left animation. 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/#zoom
*/
export declare class ZoomInLeft extends ComplexAnimationBuilder implements IEntryExitAnimationBuilder {
static presetName: string;
static createInstance<T extends typeof BaseAnimationBuilder>(this: T): InstanceType<T>;
build: () => EntryExitAnimationFunction;
}
/**
* Scale from right animation. 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/#zoom
*/
export declare class ZoomInRight extends ComplexAnimationBuilder implements IEntryExitAnimationBuilder {
static presetName: string;
static createInstance<T extends typeof BaseAnimationBuilder>(this: T): InstanceType<T>;
build: () => EntryExitAnimationFunction;
}
/**
* Scale from top animation. 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/#zoom
*/
export declare class ZoomInUp extends ComplexAnimationBuilder implements IEntryExitAnimationBuilder {
static presetName: string;
static createInstance<T extends typeof BaseAnimationBuilder>(this: T): InstanceType<T>;
build: () => EntryExitAnimationFunction;
}
/**
* Scale from bottom animation. 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/#zoom
*/
export declare class ZoomInDown extends ComplexAnimationBuilder implements IEntryExitAnimationBuilder {
static presetName: string;
static createInstance<T extends typeof BaseAnimationBuilder>(this: T): InstanceType<T>;
build: () => EntryExitAnimationFunction;
}
/**
* Eased scale from top animation. 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/#zoom
*/
export declare class ZoomInEasyUp extends ComplexAnimationBuilder implements IEntryAnimationBuilder {
static presetName: string;
static createInstance<T extends typeof BaseAnimationBuilder>(this: T): InstanceType<T>;
build: () => AnimationConfigFunction<EntryAnimationsValues>;
}
/**
* Eased scale from bottom animation. 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/#zoom
*/
export declare class ZoomInEasyDown extends ComplexAnimationBuilder implements IEntryAnimationBuilder {
static presetName: string;
static createInstance<T extends typeof BaseAnimationBuilder>(this: T): InstanceType<T>;
build: () => AnimationConfigFunction<EntryAnimationsValues>;
}
/**
* Scale to center animation. 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/#zoom
*/
export declare class ZoomOut extends ComplexAnimationBuilder implements IEntryExitAnimationBuilder {
static presetName: string;
static createInstance<T extends typeof BaseAnimationBuilder>(this: T): InstanceType<T>;
build: () => EntryExitAnimationFunction;
}
/**
* Scale to center with rotation. 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/#zoom
*/
export declare class ZoomOutRotate extends ComplexAnimationBuilder implements IEntryExitAnimationBuilder {
static presetName: string;
static createInstance<T extends typeof BaseAnimationBuilder>(this: T): InstanceType<T>;
build: () => EntryExitAnimationFunction;
}
/**
* Scale to left animation. 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/#zoom
*/
export declare class ZoomOutLeft extends ComplexAnimationBuilder implements IEntryExitAnimationBuilder {
static presetName: string;
static createInstance<T extends typeof BaseAnimationBuilder>(this: T): InstanceType<T>;
build: () => EntryExitAnimationFunction;
}
/**
* Scale to right animation. 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/#zoom
*/
export declare class ZoomOutRight extends ComplexAnimationBuilder implements IEntryExitAnimationBuilder {
static presetName: string;
static createInstance<T extends typeof BaseAnimationBuilder>(this: T): InstanceType<T>;
build: () => EntryExitAnimationFunction;
}
/**
* Scale to top animation. 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/#zoom
*/
export declare class ZoomOutUp extends ComplexAnimationBuilder implements IEntryExitAnimationBuilder {
static presetName: string;
static createInstance<T extends typeof BaseAnimationBuilder>(this: T): InstanceType<T>;
build: () => EntryExitAnimationFunction;
}
/**
* Scale to bottom animation. 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/#zoom
*/
export declare class ZoomOutDown extends ComplexAnimationBuilder implements IEntryExitAnimationBuilder {
static presetName: string;
static createInstance<T extends typeof BaseAnimationBuilder>(this: T): InstanceType<T>;
build: () => EntryExitAnimationFunction;
}
/**
* Eased scale to top animation. 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/#zoom
*/
export declare class ZoomOutEasyUp extends ComplexAnimationBuilder implements IExitAnimationBuilder {
static presetName: string;
static createInstance<T extends typeof BaseAnimationBuilder>(this: T): InstanceType<T>;
build: () => AnimationConfigFunction<ExitAnimationsValues>;
}
/**
* Eased scale to bottom animation. 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/#zoom
*/
export declare class ZoomOutEasyDown extends ComplexAnimationBuilder implements IExitAnimationBuilder {
static presetName: string;
static createInstance<T extends typeof BaseAnimationBuilder>(this: T): InstanceType<T>;
build: () => AnimationConfigFunction<ExitAnimationsValues>;
}
//# sourceMappingURL=Zoom.d.ts.map