UNPKG

react-native-reanimated

Version:

More powerful alternative to Animated library for React Native.

15 lines (14 loc) 615 B
'use strict'; import { CSSKeyframesRuleBase } from '../../models'; import { normalizeAnimationKeyframes } from '../normalization'; export default class CSSKeyframesRuleImpl extends CSSKeyframesRuleBase { normalizedKeyframesCache_ = {}; constructor(keyframes, cssText) { super(keyframes, cssText); } getNormalizedKeyframesConfig(compoundComponentName) { this.normalizedKeyframesCache_[compoundComponentName] ??= normalizeAnimationKeyframes(this.cssRules, compoundComponentName); return this.normalizedKeyframesCache_[compoundComponentName]; } } //# sourceMappingURL=CSSKeyframesRuleImpl.js.map