-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathApp.tsx
More file actions
27 lines (24 loc) · 743 Bytes
/
App.tsx
File metadata and controls
27 lines (24 loc) · 743 Bytes
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
import React from 'react';
import { NavigationContainer } from '@react-navigation/native';
import { createStackNavigator } from '@react-navigation/stack';
import { NotificationsScreen } from './src/screens/NotificationsScreen';
import { RootStackParamList } from './src/types/navigation';
const Stack = createStackNavigator<RootStackParamList>();
const App: React.FC = () => {
return (
<NavigationContainer>
<Stack.Navigator
initialRouteName="Notifications"
screenOptions={{
headerShown: false,
}}
>
<Stack.Screen
name="Notifications"
component={NotificationsScreen}
/>
</Stack.Navigator>
</NavigationContainer>
);
};
export default App;