react-native-reanimated
Version:
More powerful alternative to Animated library for React Native.
10 lines (9 loc) • 895 B
TypeScript
import type { AnimationConfig, AnimationNames, CustomConfig } from './config';
import type { TransitionData } from './animationParser';
import { LayoutAnimationType } from '../animationBuilder/commonTypes';
export declare function getReducedMotionFromConfig(config: CustomConfig): boolean;
export declare function getProcessedConfig(animationName: string, animationType: LayoutAnimationType, config: CustomConfig, initialAnimationName: AnimationNames): AnimationConfig;
export declare function saveSnapshot(element: HTMLElement): void;
export declare function setElementAnimation(element: HTMLElement, animationConfig: AnimationConfig): void;
export declare function handleLayoutTransition(element: HTMLElement, animationConfig: AnimationConfig, transitionData: TransitionData): void;
export declare function handleExitingAnimation(element: HTMLElement, animationConfig: AnimationConfig): void;