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