-
-
Save amandeepmittal/aad581dbf63a3c16a1c0f3f957620382 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
render() { | |
const { loading } = this.state | |
if (loading) { | |
return ( | |
<View | |
style={{ flex: 1, justifyContent: 'center', alignItems: 'center' }}> | |
<ActivityIndicator size='large' /> | |
</View> | |
) | |
} | |
return ( | |
<View style={styles.container}> | |
<View style={styles.header}> | |
<Text style={styles.headerText}>Headlines App</Text> | |
</View> | |
<View style={styles.contentContainer}> | |
<Text>Open up App.js to start working on your app!</Text> | |
</View> | |
</View> | |
) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment