UNPKG

react-native-reanimated

Version:

More powerful alternative to Animated library for React Native.

9 lines (8 loc) 394 B
import type { KeyframeProps } from './commonTypes'; export declare class ReanimatedKeyframe { constructor(definitions: Record<string, KeyframeProps>); duration(durationMs: number): ReanimatedKeyframe; delay(delayMs: number): ReanimatedKeyframe; withCallback(callback: (finished: boolean) => void): ReanimatedKeyframe; } export declare const Keyframe: typeof ReanimatedKeyframe;