Skip to content

Instantly share code, notes, and snippets.

@anchetaWern
Created June 1, 2019 03:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anchetaWern/97a9bb51b16a9921a8613ff38d7cca0c to your computer and use it in GitHub Desktop.
Save anchetaWern/97a9bb51b16a9921a8613ff38d7cca0c to your computer and use it in GitHub Desktop.
React Native Stream Group Chat Tutorial: Set up App.js
// 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