forked from oblador/react-native-animatable
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.js
More file actions
20 lines (18 loc) · 686 Bytes
/
index.js
File metadata and controls
20 lines (18 loc) · 686 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
import {
View as CoreView,
Text as CoreText,
Image as CoreImage,
} from 'react-native';
import createComponent from './createAnimatableComponent';
import { initializeRegistryWithDefinitions } from './registry';
import * as ANIMATION_DEFINITIONS from './definitions';
initializeRegistryWithDefinitions(ANIMATION_DEFINITIONS);
export const createAnimatableComponent = createComponent;
export const View = createComponent(CoreView);
export const Text = createComponent(CoreText);
export const Image = createComponent(CoreImage);
export { default as createAnimation } from './createAnimation';
export {
registerAnimation,
initializeRegistryWithDefinitions,
} from './registry';