Created
May 20, 2020 08:12
-
-
Save Sahil5963/25cfb23e3f76da3d37d36f4c2429dde4 to your computer and use it in GitHub Desktop.
webrtcApp/App.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React from 'react'; | |
import {NavigationContainer} from '@react-navigation/native'; | |
import {createStackNavigator} from '@react-navigation/stack'; | |
import LoginScreen from './screens/LoginScreen'; | |
import CallScreen from './screens/CallScreen'; | |
import {SafeAreaView} from 'react-native-safe-area-context'; | |
const Stack = createStackNavigator(); | |
const App = () => { | |
return ( | |
<NavigationContainer> | |
<Stack.Navigator> | |
<Stack.Screen | |
name="Login" | |
component={LoginScreen} | |
options={{headerShown: false}} | |
/> | |
<Stack.Screen name="Call" component={CallScreen} /> | |
</Stack.Navigator> | |
</NavigationContainer> | |
); | |
}; | |
export default App; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment