-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathApp.js
28 lines (24 loc) · 848 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
import React from 'react';
import { StyleSheet, Text, View } from 'react-native';
import * as firebase from "firebase";
import { NavigationContainer } from '@react-navigation/native';
import { createStackNavigator } from '@react-navigation/stack';
import Home from './main/screens/home';
import Login from './main/screens/login';
import SignUp from './main/screens/signup';
const Stack = createStackNavigator();
export default function App() {
var firebaseConfig = {
//firebase bilgileriniz
};
firebase.initializeApp(firebaseConfig);
return (
<NavigationContainer>
<Stack.Navigator headerMode='none'>
<Stack.Screen name="Login" component={Login} />
<Stack.Screen name="SignUp" component={SignUp} />
<Stack.Screen name="Home" component={Home} />
</Stack.Navigator>
</NavigationContainer>
);
}