UNPKG

1.72 kBTypeScriptView Raw
1import type { BaseAnimationBuilder } from '../animationBuilder';
2import { ComplexAnimationBuilder } from '../animationBuilder';
3import type { EntryExitAnimationFunction, IEntryExitAnimationBuilder } from '../animationBuilder/commonTypes';
4/**
5 * Entry with change in rotation, scale, and opacity. You can modify the
6 * 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#pinwheel
12 */
13export declare class PinwheelIn 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 * Exit with change in rotation, scale, and opacity. You can modify the behavior
20 * by chaining methods like `.springify()` or `.duration(500)`.
21 *
22 * You pass it to the `exiting` 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#pinwheel
26 */
27export declare class PinwheelOut extends ComplexAnimationBuilder implements IEntryExitAnimationBuilder {
28 static presetName: string;
29 static createInstance<T extends typeof BaseAnimationBuilder>(this: T): InstanceType<T>;
30 build: () => EntryExitAnimationFunction;
31}
32//# sourceMappingURL=Pinwheel.d.ts.map
\No newline at end of file