-
Notifications
You must be signed in to change notification settings - Fork 0
/
App.js
23 lines (20 loc) · 962 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
import * as React from 'react';
import { NavigationContainer } from '@react-navigation/native';
import 'react-native-gesture-handler';
import { createStackNavigator } from '@react-navigation/stack';
import home from './screens/home';
import details from './screens/details';
import play from './screens/play';
import { Themes } from "./assets/Themes";
const Stack = createStackNavigator();
export default function App() {
return (
<NavigationContainer>
<Stack.Navigator>
<Stack.Screen name="Home" component={home} options={{headerShown: false}}/>
<Stack.Screen name="Song Details" component={details} options={{headerStyle: {backgroundColor: Themes.colors.background}, headerTitleStyle: {color:'white'}}}/>
<Stack.Screen name="Song Preview" component={play} options={{headerStyle: {backgroundColor: Themes.colors.background}, headerTitleStyle: {color:'white'}}}/>
</Stack.Navigator>
</NavigationContainer>
);
}