-
Notifications
You must be signed in to change notification settings - Fork 0
/
App.js
28 lines (24 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
import React from 'react';
import { View, Text, StatusBar } from 'react-native';
import { NavigationContainer } from '@react-navigation/native';
import { CardStyleInterpolators, createStackNavigator } from '@react-navigation/stack';
import { Provider as PaperProvider } from 'react-native-paper';
import Theme from './src/core/theme';
//screens
import HomeScreen from './src/screens/home';
import CustomSounds from './src/screens/customSounds';
const Stack = createStackNavigator();
function App() {
return (
<PaperProvider theme={Theme}>
<NavigationContainer>
<StatusBar animated={true} backgroundColor={Theme.colors.primary} />
<Stack.Navigator screenOptions={{ cardStyleInterpolator: CardStyleInterpolators.forHorizontalIOS, headerShown: false }}>
<Stack.Screen name="HomeScreen" component={HomeScreen} />
<Stack.Screen name="CustomSounds" component={CustomSounds} />
</Stack.Navigator>
</NavigationContainer>
</PaperProvider>
)
}
export default App;