-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathApp.tsx
34 lines (31 loc) · 1.11 KB
/
App.tsx
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
30
31
32
33
34
import {createNativeStackNavigator} from '@react-navigation/native-stack';
import config from './tamagui.config';
import React from 'react';
import {TamaguiProvider} from 'tamagui';
import Home from './pages/home';
import {NavigationContainer} from '@react-navigation/native';
import Networks from './pages/networks';
import Currencies from './pages/currencies';
import Send from './pages/send';
import Receive from './pages/receive';
const Stack = createNativeStackNavigator();
function App(): React.JSX.Element {
return (
<TamaguiProvider config={config}>
<NavigationContainer>
<Stack.Navigator
initialRouteName="Home"
screenOptions={{
headerShown: false,
}}>
<Stack.Screen name="Home" component={Home} />
<Stack.Screen name="Networks" component={Networks} />
<Stack.Screen name="Currencies" component={Currencies} />
<Stack.Screen name="Send" component={Send} />
<Stack.Screen name="Receive" component={Receive} />
</Stack.Navigator>
</NavigationContainer>
</TamaguiProvider>
);
}
export default App;