-
Notifications
You must be signed in to change notification settings - Fork 2
/
App.tsx
58 lines (53 loc) · 1.49 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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
import React from 'react';
import { createStackNavigator } from '@react-navigation/stack';
import { Main } from './src/Main';
import { NativeBaseProvider } from 'native-base';
import { Loading } from './src/Loading';
import Select from './src/Select';
import Card from './src/Card';
import { Wallet } from './src/Wallet';
import { DefaultTheme, NavigationContainer } from '@react-navigation/native';
const Stack = createStackNavigator();
const MainTheme = {
...DefaultTheme,
colors: {
...DefaultTheme.colors,
background: 'white',
},
};
export default function App() {
return (
<NativeBaseProvider>
<NavigationContainer theme={MainTheme}>
<Stack.Navigator>
<Stack.Screen
name='홈'
component={Wallet}
options={{ headerShown: false }}
/>
<Stack.Screen
name='2023.06'
component={Main}
options={{ headerShown: true }}
/>
<Stack.Screen
name='Loading'
component={Loading}
options={{ headerShown: false }}
/>
<Stack.Screen
name='Select'
component={Select}
options={{ headerShown: false }}
/>
<Stack.Screen
name='Card'
component={Card}
options={{ headerShown: false }}
/>
</Stack.Navigator>
</NavigationContainer>
</NativeBaseProvider>
);
}
// eslint-disable-next-line import/no-default-export