react-native-reanimated
Version:
More powerful alternative to Animated library for React Native.
13 lines (11 loc) • 376 B
text/typescript
;
import { initSvgCssSupport } from './css/svg';
import { getStaticFeatureFlag } from './featureFlags';
import type { IReanimatedModule } from './ReanimatedModule';
export function initializeReanimatedModule(
_ReanimatedModule: IReanimatedModule
) {
if (getStaticFeatureFlag('EXPERIMENTAL_CSS_ANIMATIONS_FOR_SVG_COMPONENTS')) {
initSvgCssSupport();
}
}