-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathApp.js
More file actions
28 lines (25 loc) · 818 Bytes
/
App.js
File metadata and controls
28 lines (25 loc) · 818 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
28
import React from 'react';
import {NavigationContainer} from '@react-navigation/native';
import {createNativeStackNavigator} from '@react-navigation/native-stack';
const Stack = createNativeStackNavigator();
import {
PRODUCTS_SCREEN,
COMMENTS_AND_SUGGESTIONS_SCREEN,
} from './src/constants';
import {Products, CommentsAndSuggestions, Home} from './src/Screens';
import './src/translations/i18n.config';
function App() {
return (
<NavigationContainer>
<Stack.Navigator>
<Stack.Screen name="Home" component={Home} />
<Stack.Screen name={PRODUCTS_SCREEN} component={Products} />
<Stack.Screen
name={COMMENTS_AND_SUGGESTIONS_SCREEN}
component={CommentsAndSuggestions}
/>
</Stack.Navigator>
</NavigationContainer>
);
}
export default App;