-
Notifications
You must be signed in to change notification settings - Fork 0
/
App.js
29 lines (26 loc) · 1 KB
/
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
import React from 'react';
import { StatusBar } from 'react-native';
import { LanguageContextProvider } from './src/contexts/LanguageContext';
import { NavigationContainer } from '@react-navigation/native';
import { createStackNavigator } from '@react-navigation/stack';
import Login from './src/views/Login';
import Search from './src/views/Search';
import Artist from './src/views/Artist';
import Album from './src/views/Album';
const Stack = createStackNavigator();
const App = () => {
return (
<LanguageContextProvider>
<StatusBar barStyle="light-content" />
<NavigationContainer initialRouteName="Login">
<Stack.Navigator headerMode='none'>
<Stack.Screen name="Login" component={Login} />
<Stack.Screen name="Search" component={Search} />
<Stack.Screen name="Artist" component={Artist} />
<Stack.Screen name="Album" component={Album} />
</Stack.Navigator>
</NavigationContainer>
</LanguageContextProvider>
);
};
export default App;