react-native-reanimated
Version:
More powerful alternative to Animated library for React Native.
9 lines (8 loc) • 456 B
TypeScript
import type { LayoutAnimationFunction, LayoutAnimationsValues } from './animationBuilder';
import { LayoutAnimationType } from './animationBuilder';
declare function createLayoutAnimationManager(): {
start(tag: number, type: LayoutAnimationType, yogaValues: LayoutAnimationsValues, config: LayoutAnimationFunction): void;
stop(tag: number): void;
};
export type LayoutAnimationsManager = ReturnType<typeof createLayoutAnimationManager>;
export {};