-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
App.js
41 lines (33 loc) · 1.32 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
29
30
31
32
33
34
35
36
37
38
39
40
41
import React from 'react';
import AddWallet from './screens/AddWallet';
import EnterPassword from './screens/EnterPassword';
import Home from './screens/Home';
import ImportWallet from './screens/ImportWallet';
import SetPassword from './screens/SetPassword';
import WalletContent from './screens/WalletContent';
import ConnectWallet from './screens/ConnectWallet';
import TestComponent from './screens/test';
import { NavigationContainer } from '@react-navigation/native';
import { createStackNavigator } from '@react-navigation/stack';
const Stack = createStackNavigator();
function App() {
return (
<Stack.Navigator screenOptions={{headerShown: false}} >
{/* <Stack.Screen name="test" component={TestComponent} /> */}
<Stack.Screen name="Home" component={Home} />
<Stack.Screen name="ConnectWallet" component={ConnectWallet} />
<Stack.Screen name="WalletContent" component={WalletContent} />
<Stack.Screen name="AddWallet" component={AddWallet} />
<Stack.Screen name="EnterPassword" component={EnterPassword} />
<Stack.Screen name="ImportWallet" component={ImportWallet} />
<Stack.Screen name="SetPassword" component={SetPassword} />
</Stack.Navigator>
);
}
export default () => {
return (
<NavigationContainer>
<App />
</NavigationContainer>
)
}