UNPKG

3.22 kBTypeScriptView Raw
1import type { BaseAnimationBuilder } from '../animationBuilder';
2import { ComplexAnimationBuilder } from '../animationBuilder';
3import type { EntryExitAnimationFunction, IEntryExitAnimationBuilder } from '../animationBuilder/commonTypes';
4/**
5 * Entry from right animation with change in skew and opacity. You can modify
6 * the behavior by chaining methods like `.springify()` or `.duration(500)`.
7 *
8 * You pass it to the `entering` 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/entering-exiting-animations#lightspeed
12 */
13export declare class LightSpeedInRight extends ComplexAnimationBuilder implements IEntryExitAnimationBuilder {
14 static presetName: string;
15 static createInstance<T extends typeof BaseAnimationBuilder>(this: T): InstanceType<T>;
16 build: () => EntryExitAnimationFunction;
17}
18/**
19 * Entry from left animation with change in skew and opacity. You can modify the
20 * behavior by chaining methods like `.springify()` or `.duration(500)`.
21 *
22 * You pass it to the `entering` prop on [an Animated
23 * component](https://docs.swmansion.com/react-native-reanimated/docs/fundamentals/glossary#animated-component).
24 *
25 * @see https://docs.swmansion.com/react-native-reanimated/docs/layout-animations/entering-exiting-animations#lightspeed
26 */
27export declare class LightSpeedInLeft extends ComplexAnimationBuilder implements IEntryExitAnimationBuilder {
28 static presetName: string;
29 static createInstance<T extends typeof BaseAnimationBuilder>(this: T): InstanceType<T>;
30 build: () => EntryExitAnimationFunction;
31}
32/**
33 * Exit to right animation with change in skew and opacity. You can modify the
34 * behavior by chaining methods like `.springify()` or `.duration(500)`.
35 *
36 * You pass it to the `exiting` prop on [an Animated
37 * component](https://docs.swmansion.com/react-native-reanimated/docs/fundamentals/glossary#animated-component).
38 *
39 * @see https://docs.swmansion.com/react-native-reanimated/docs/layout-animations/entering-exiting-animations#lightspeed
40 */
41export declare class LightSpeedOutRight extends ComplexAnimationBuilder implements IEntryExitAnimationBuilder {
42 static presetName: string;
43 static createInstance<T extends typeof BaseAnimationBuilder>(this: T): InstanceType<T>;
44 build: () => EntryExitAnimationFunction;
45}
46/**
47 * Exit to left animation with change in skew and opacity. You can modify the
48 * behavior by chaining methods like `.springify()` or `.duration(500)`.
49 *
50 * You pass it to the `exiting` prop on [an Animated
51 * component](https://docs.swmansion.com/react-native-reanimated/docs/fundamentals/glossary#animated-component).
52 *
53 * @see https://docs.swmansion.com/react-native-reanimated/docs/layout-animations/entering-exiting-animations/#lightspeed
54 */
55export declare class LightSpeedOutLeft extends ComplexAnimationBuilder implements IEntryExitAnimationBuilder {
56 static presetName: string;
57 static createInstance<T extends typeof BaseAnimationBuilder>(this: T): InstanceType<T>;
58 build: () => EntryExitAnimationFunction;
59}
60//# sourceMappingURL=Lightspeed.d.ts.map
\No newline at end of file