Last active
October 17, 2017 00:26
-
-
Save ecavalcanti/466268f538cd03e3cbcf8d7c69941251 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React from 'react' | |
import { StatusBar, Platform } from 'react-native' | |
import Home from './src/screens/Home' | |
import Description from './src/screens/Description' | |
import { StackNavigator } from 'react-navigation' | |
const App = StackNavigator({ | |
Home: { | |
screen: Home | |
}, | |
Description: { | |
screen: Description | |
}, | |
}, | |
{ | |
cardStyle: { | |
paddingTop: Platform.OS === 'ios' ? 0 : StatusBar.currentHeight | |
} | |
}) | |
export default App | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment