-
Notifications
You must be signed in to change notification settings - Fork 1
/
App.js
33 lines (28 loc) · 875 Bytes
/
App.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
import React from 'react';
import {createStackNavigator} from 'react-navigation';
import {Assets, ThemeManager} from 'react-native-ui-lib'; //eslint-disable-line
import * as Animatable from 'react-native-animatable';
import ROUTES from './app/screens';
Assets.loadAssetsGroup('icons.general', {
camera: require('./app/assets/icons/cameraSelected.png'),
});
Animatable.initializeRegistryWithDefinitions({
gridListEntrance: {
from: {opacity: 0, ['translateY']: 15},
to: {opacity: 1, ['translateY']: 0},
},
});
Animatable.initializeRegistryWithDefinitions({
basicListEntrance: {
from: {opacity: 0, ['translateY']: 20},
to: {opacity: 1, ['translateY']: 0},
},
});
const Navigator = createStackNavigator(ROUTES, {
initialRouteName: 'MainScreen'
});
export default class App extends React.Component {
render() {
return (<Navigator />);
}
}