Rename screen in navigtor

This commit is contained in:
Julia Friesel
2018-06-14 14:55:08 +02:00
parent be0b9ba09e
commit c72e8d45a9
7 changed files with 10 additions and 10 deletions
+2 -2
View File
@@ -2,7 +2,7 @@ import { createStackNavigator } from 'react-navigation'
import Home from './home'
import Calendar from './calendar'
import Day from './cycle-day'
import CycleDay from './cycle-day'
// this is until react native fixes this bug, see https://github.com/facebook/react-native/issues/18868#issuecomment-382671739
import { YellowBox } from 'react-native'
@@ -11,5 +11,5 @@ YellowBox.ignoreWarnings(['Warning: isMounted(...) is deprecated'])
export default createStackNavigator({
home: { screen: Home },
calendar: { screen: Calendar },
day: { screen: Day }
cycleDay: { screen: CycleDay }
})