UNPKG

6.09 kBTypeScriptView Raw
1import type { BaseAnimationBuilder } from '../animationBuilder';
2import { ComplexAnimationBuilder } from '../animationBuilder';
3import type { EntryAnimationsValues, ExitAnimationsValues, AnimationConfigFunction, IEntryAnimationBuilder, IExitAnimationBuilder } from '../animationBuilder/commonTypes';
4/**
5 * Rotate to bottom from left edge. You can modify the behavior by chaining
6 * 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#rotate
12 */
13export declare class RotateInDownLeft extends ComplexAnimationBuilder implements IEntryAnimationBuilder {
14 static presetName: string;
15 static createInstance<T extends typeof BaseAnimationBuilder>(this: T): InstanceType<T>;
16 build: () => AnimationConfigFunction<EntryAnimationsValues>;
17}
18/**
19 * Rotate to bottom from right edge. You can modify the behavior by chaining
20 * 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#rotate
26 */
27export declare class RotateInDownRight extends ComplexAnimationBuilder implements IEntryAnimationBuilder {
28 static presetName: string;
29 static createInstance<T extends typeof BaseAnimationBuilder>(this: T): InstanceType<T>;
30 build: () => AnimationConfigFunction<EntryAnimationsValues>;
31}
32/**
33 * Rotate to top from left edge. You can modify the behavior by chaining methods
34 * like `.springify()` or `.duration(500)`.
35 *
36 * You pass it to the `entering` 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#rotate
40 */
41export declare class RotateInUpLeft extends ComplexAnimationBuilder implements IEntryAnimationBuilder {
42 static presetName: string;
43 static createInstance<T extends typeof BaseAnimationBuilder>(this: T): InstanceType<T>;
44 build: () => AnimationConfigFunction<EntryAnimationsValues>;
45}
46/**
47 * Rotate to top from right edge. You can modify the behavior by chaining
48 * methods like `.springify()` or `.duration(500)`.
49 *
50 * You pass it to the `entering` 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#rotate
54 */
55export declare class RotateInUpRight extends ComplexAnimationBuilder implements IEntryAnimationBuilder {
56 static presetName: string;
57 static createInstance<T extends typeof BaseAnimationBuilder>(this: T): InstanceType<T>;
58 build: () => AnimationConfigFunction<EntryAnimationsValues>;
59}
60/**
61 * Rotate to bottom from left edge. You can modify the behavior by chaining
62 * methods like `.springify()` or `.duration(500)`.
63 *
64 * You pass it to the `exiting` prop on [an Animated
65 * component](https://docs.swmansion.com/react-native-reanimated/docs/fundamentals/glossary#animated-component).
66 *
67 * @see https://docs.swmansion.com/react-native-reanimated/docs/layout-animations/entering-exiting-animations#rotate
68 */
69export declare class RotateOutDownLeft extends ComplexAnimationBuilder implements IExitAnimationBuilder {
70 static presetName: string;
71 static createInstance<T extends typeof BaseAnimationBuilder>(this: T): InstanceType<T>;
72 build: () => AnimationConfigFunction<ExitAnimationsValues>;
73}
74/**
75 * Rotate to bottom from right edge. You can modify the behavior by chaining
76 * methods like `.springify()` or `.duration(500)`.
77 *
78 * You pass it to the `exiting` prop on [an Animated
79 * component](https://docs.swmansion.com/react-native-reanimated/docs/fundamentals/glossary#animated-component).
80 *
81 * @see https://docs.swmansion.com/react-native-reanimated/docs/layout-animations/entering-exiting-animations#rotate
82 */
83export declare class RotateOutDownRight extends ComplexAnimationBuilder implements IExitAnimationBuilder {
84 static presetName: string;
85 static createInstance<T extends typeof BaseAnimationBuilder>(this: T): InstanceType<T>;
86 build: () => AnimationConfigFunction<ExitAnimationsValues>;
87}
88/**
89 * Rotate to top from left edge. You can modify the behavior by chaining methods
90 * like `.springify()` or `.duration(500)`.
91 *
92 * You pass it to the `exiting` prop on [an Animated
93 * component](https://docs.swmansion.com/react-native-reanimated/docs/fundamentals/glossary#animated-component).
94 *
95 * @see https://docs.swmansion.com/react-native-reanimated/docs/layout-animations/entering-exiting-animations#rotate
96 */
97export declare class RotateOutUpLeft extends ComplexAnimationBuilder implements IExitAnimationBuilder {
98 static presetName: string;
99 static createInstance<T extends typeof BaseAnimationBuilder>(this: T): InstanceType<T>;
100 build: () => AnimationConfigFunction<ExitAnimationsValues>;
101}
102/**
103 * Rotate to top from right edge. You can modify the behavior by chaining
104 * methods like `.springify()` or `.duration(500)`.
105 *
106 * You pass it to the `exiting` prop on [an Animated
107 * component](https://docs.swmansion.com/react-native-reanimated/docs/fundamentals/glossary#animated-component).
108 *
109 * @see https://docs.swmansion.com/react-native-reanimated/docs/layout-animations/entering-exiting-animations#rotate
110 */
111export declare class RotateOutUpRight extends ComplexAnimationBuilder implements IExitAnimationBuilder {
112 static presetName: string;
113 static createInstance<T extends typeof BaseAnimationBuilder>(this: T): InstanceType<T>;
114 build: () => AnimationConfigFunction<ExitAnimationsValues>;
115}
116//# sourceMappingURL=Rotate.d.ts.map
\No newline at end of file