UNPKG

react-native-reanimated

Version:

More powerful alternative to Animated library for React Native.

21 lines 972 B
import type { UnknownRecord } from '../../../common'; import type { ShadowNodeWrapper } from '../../../commonTypes'; import type { CSSTransitionProperties, ICSSTransitionsManager } from '../../types'; export default class CSSTransitionsManager implements ICSSTransitionsManager { private readonly viewTag; private readonly shadowNodeWrapper; private prevProps; private propsWithTransitions; private hasTransition; private appliedEventMask; constructor(shadowNodeWrapper: ShadowNodeWrapper, viewTag: number); /** * @returns Whether this update detached a running transition (its props were * removed, or normalized to an empty config, e.g. when duration is 0). */ update(transitionProperties: CSSTransitionProperties | null, nextStyle?: UnknownRecord, eventMask?: number): boolean; unmountCleanup(): void; private detach; private processTransitionConfig; } //# sourceMappingURL=CSSTransitionsManager.d.ts.map