UNPKG

686 BJavaScriptView Raw
1import {
2 View as CoreView,
3 Text as CoreText,
4 Image as CoreImage,
5} from 'react-native';
6import createComponent from './createAnimatableComponent';
7import { initializeRegistryWithDefinitions } from './registry';
8import * as ANIMATION_DEFINITIONS from './definitions';
9
10initializeRegistryWithDefinitions(ANIMATION_DEFINITIONS);
11
12export const createAnimatableComponent = createComponent;
13export const View = createComponent(CoreView);
14export const Text = createComponent(CoreText);
15export const Image = createComponent(CoreImage);
16export { default as createAnimation } from './createAnimation';
17export {
18 registerAnimation,
19 initializeRegistryWithDefinitions,
20} from './registry';