-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathApp.js
29 lines (25 loc) · 809 Bytes
/
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
import { createAppContainer } from 'react-navigation';
import { createStackNavigator } from 'react-navigation-stack';
import HomeScreen from './src/screens/HomeScreen';
import DiagnosticScreen from './src/screens/DiagnosticScreen';
import DiagnosisResultScreen from './src/screens/DiagnosisResultScreen';
const App = createStackNavigator({
Home: { screen: HomeScreen },
Diagnostic: { screen: DiagnosticScreen },
Result: { screen: DiagnosisResultScreen },
}, {
defaultNavigationOptions: {
headerBackTitle: "",
//最後に実装する
// headerLeft: () => null,
headerTitle: 'My Rice',
headerTintColor: '#fff',
headerTitleStyle:{
color: '#fff',
},
headerStyle:{
backgroundColor: "#F8C758",
},
}
});
export default createAppContainer(App);