vn-verdnaturachat/app/navigation.js

21 lines
403 B
JavaScript
Raw Normal View History

2017-08-03 18:23:43 +00:00
import { StackNavigator } from 'react-navigation';
import { LoginView } from './login';
import { NewServerView } from './new-server';
import { RoomsView } from './rooms';
export default new StackNavigator({
Home: {
navigationOptions: {
header: null
},
screen: NewServerView
},
Login: { screen: LoginView },
Rooms: { screen: RoomsView }
}, {
cardStyle: {
backgroundColor: '#fff'
}
});