Created
June 1, 2019 03:14
-
-
Save anchetaWern/97a9bb51b16a9921a8613ff38d7cca0c to your computer and use it in GitHub Desktop.
React Native Stream Group Chat Tutorial: Set up App.js
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
// App.js | |
import React, { Component } from 'react'; | |
import { View } from 'react-native'; | |
import Root from './Root'; | |
export default class App extends Component { | |
render() { | |
return ( | |
<View style={styles.container}> | |
<Root /> | |
</View> | |
); | |
} | |
} | |
const styles = { | |
container: { | |
flex: 1 | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment