Add react native js components

This commit is contained in:
Jannis Mattheis
2018-05-12 21:00:29 +02:00
committed by Jannis Mattheis
parent c3743cde25
commit ea20a6418d
6 changed files with 220 additions and 0 deletions

16
App.js Normal file
View File

@@ -0,0 +1,16 @@
import AuthLoading from './src/AuthLoading'
import Messages from './src/Messages'
import Login from './src/Login'
import { createSwitchNavigator } from 'react-navigation';
export default createSwitchNavigator({
Messages: {
screen: Messages,
},
Login: {
screen: Login,
},
AuthLoading: {
screen: AuthLoading
},
}, {initialRouteName: 'AuthLoading'});