UNPKG

7.83 kBTypeScriptView Raw
1import type { EntryExitAnimationFunction, IEntryExitAnimationBuilder } from '../animationBuilder/commonTypes';
2import type { BaseAnimationBuilder } from '../animationBuilder';
3import { ComplexAnimationBuilder } from '../animationBuilder';
4/**
5 * Bounce entering animation. You can modify the behavior by chaining methods
6 * like `.delay(300)` or `.duration(100)`.
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#bounce
12 */
13export declare class BounceIn extends ComplexAnimationBuilder implements IEntryExitAnimationBuilder {
14 static presetName: string;
15 static createInstance<T extends typeof BaseAnimationBuilder>(this: T): InstanceType<T>;
16 static getDuration(): number;
17 getDuration(): number;
18 build: () => EntryExitAnimationFunction;
19}
20/**
21 * Bounce from bottom animation. You can modify the behavior by chaining methods
22 * like `.delay(300)` or `.duration(100)`.
23 *
24 * You pass it to the `entering` prop on [an Animated
25 * component](https://docs.swmansion.com/react-native-reanimated/docs/fundamentals/glossary#animated-component).
26 *
27 * @see https://docs.swmansion.com/react-native-reanimated/docs/layout-animations/entering-exiting-animations#bounce
28 */
29export declare class BounceInDown extends ComplexAnimationBuilder implements IEntryExitAnimationBuilder {
30 static presetName: string;
31 static createInstance<T extends typeof BaseAnimationBuilder>(this: T): InstanceType<T>;
32 static getDuration(): number;
33 getDuration(): number;
34 build: () => EntryExitAnimationFunction;
35}
36/**
37 * Bounce from top animation. You can modify the behavior by chaining methods
38 * like `.delay(300)` or `.duration(100)`.
39 *
40 * You pass it to the `entering` prop on [an Animated
41 * component](https://docs.swmansion.com/react-native-reanimated/docs/fundamentals/glossary#animated-component).
42 *
43 * @see https://docs.swmansion.com/react-native-reanimated/docs/layout-animations/entering-exiting-animations#bounce
44 */
45export declare class BounceInUp extends ComplexAnimationBuilder implements IEntryExitAnimationBuilder {
46 static presetName: string;
47 static createInstance<T extends typeof BaseAnimationBuilder>(this: T): InstanceType<T>;
48 static getDuration(): number;
49 getDuration(): number;
50 build: () => EntryExitAnimationFunction;
51}
52/**
53 * Bounce from left animation. You can modify the behavior by chaining methods
54 * like `.delay(300)` or `.duration(100)`.
55 *
56 * You pass it to the `entering` prop on [an Animated
57 * component](https://docs.swmansion.com/react-native-reanimated/docs/fundamentals/glossary#animated-component).
58 *
59 * @see https://docs.swmansion.com/react-native-reanimated/docs/layout-animations/entering-exiting-animations#bounce
60 */
61export declare class BounceInLeft extends ComplexAnimationBuilder implements IEntryExitAnimationBuilder {
62 static presetName: string;
63 static createInstance<T extends typeof BaseAnimationBuilder>(this: T): InstanceType<T>;
64 static getDuration(): number;
65 getDuration(): number;
66 build: () => EntryExitAnimationFunction;
67}
68/**
69 * Bounce from right animation. You can modify the behavior by chaining methods
70 * like `.delay(300)` or `.duration(100)`.
71 *
72 * You pass it to the `entering` prop on [an Animated
73 * component](https://docs.swmansion.com/react-native-reanimated/docs/fundamentals/glossary#animated-component).
74 *
75 * @see https://docs.swmansion.com/react-native-reanimated/docs/layout-animations/entering-exiting-animations#bounce
76 */
77export declare class BounceInRight extends ComplexAnimationBuilder implements IEntryExitAnimationBuilder {
78 static presetName: string;
79 static createInstance<T extends typeof BaseAnimationBuilder>(this: T): InstanceType<T>;
80 static getDuration(): number;
81 getDuration(): number;
82 build: () => EntryExitAnimationFunction;
83}
84/**
85 * Bounce exiting animation. You can modify the behavior by chaining methods
86 * like `.delay(300)` or `.duration(100)`.
87 *
88 * You pass it to the `exiting` prop on [an Animated
89 * component](https://docs.swmansion.com/react-native-reanimated/docs/fundamentals/glossary#animated-component).
90 *
91 * @see https://docs.swmansion.com/react-native-reanimated/docs/layout-animations/entering-exiting-animations#bounce
92 */
93export declare class BounceOut extends ComplexAnimationBuilder implements IEntryExitAnimationBuilder {
94 static presetName: string;
95 static createInstance<T extends typeof BaseAnimationBuilder>(this: T): InstanceType<T>;
96 static getDuration(): number;
97 getDuration(): number;
98 build: () => EntryExitAnimationFunction;
99}
100/**
101 * Bounce to bottom animation. You can modify the behavior by chaining methods
102 * like `.delay(300)` or `.duration(100)`.
103 *
104 * You pass it to the `exiting` prop on [an Animated
105 * component](https://docs.swmansion.com/react-native-reanimated/docs/fundamentals/glossary#animated-component).
106 *
107 * @see https://docs.swmansion.com/react-native-reanimated/docs/layout-animations/entering-exiting-animations#bounce
108 */
109export declare class BounceOutDown extends ComplexAnimationBuilder implements IEntryExitAnimationBuilder {
110 static presetName: string;
111 static createInstance<T extends typeof BaseAnimationBuilder>(this: T): InstanceType<T>;
112 static getDuration(): number;
113 getDuration(): number;
114 build: () => EntryExitAnimationFunction;
115}
116/**
117 * Bounce to top animation. You can modify the behavior by chaining methods like
118 * `.delay(300)` or `.duration(100)`.
119 *
120 * You pass it to the `exiting` prop on [an Animated
121 * component](https://docs.swmansion.com/react-native-reanimated/docs/fundamentals/glossary#animated-component).
122 *
123 * @see https://docs.swmansion.com/react-native-reanimated/docs/layout-animations/entering-exiting-animations#bounce
124 */
125export declare class BounceOutUp extends ComplexAnimationBuilder implements IEntryExitAnimationBuilder {
126 static presetName: string;
127 static createInstance<T extends typeof BaseAnimationBuilder>(this: T): InstanceType<T>;
128 static getDuration(): number;
129 getDuration(): number;
130 build: () => EntryExitAnimationFunction;
131}
132/**
133 * Bounce to left animation. You can modify the behavior by chaining methods
134 * like `.delay(300)` or `.duration(100)`.
135 *
136 * You pass it to the `exiting` prop on [an Animated
137 * component](https://docs.swmansion.com/react-native-reanimated/docs/fundamentals/glossary#animated-component).
138 *
139 * @see https://docs.swmansion.com/react-native-reanimated/docs/layout-animations/entering-exiting-animations#bounce
140 */
141export declare class BounceOutLeft extends ComplexAnimationBuilder implements IEntryExitAnimationBuilder {
142 static presetName: string;
143 static createInstance<T extends typeof BaseAnimationBuilder>(this: T): InstanceType<T>;
144 static getDuration(): number;
145 getDuration(): number;
146 build: () => EntryExitAnimationFunction;
147}
148/**
149 * Bounce to right animation. You can modify the behavior by chaining methods
150 * like `.delay(300)` or `.duration(100)`.
151 *
152 * You pass it to the `exiting` prop on [an Animated
153 * component](https://docs.swmansion.com/react-native-reanimated/docs/fundamentals/glossary#animated-component).
154 *
155 * @see https://docs.swmansion.com/react-native-reanimated/docs/layout-animations/entering-exiting-animations#bounce
156 */
157export declare class BounceOutRight extends ComplexAnimationBuilder implements IEntryExitAnimationBuilder {
158 static presetName: string;
159 static createInstance<T extends typeof BaseAnimationBuilder>(this: T): InstanceType<T>;
160 static getDuration(): number;
161 getDuration(): number;
162 build: () => EntryExitAnimationFunction;
163}
164//# sourceMappingURL=Bounce.d.ts.map
\No newline at end of file