Skip to content

Instantly share code, notes, and snippets.

@amandeepmittal
Created February 9, 2019 12:33
Show Gist options
  • Save amandeepmittal/632bc7afd4dee7ce04e51900b72dbcbf to your computer and use it in GitHub Desktop.
Save amandeepmittal/632bc7afd4dee7ce04e51900b72dbcbf to your computer and use it in GitHub Desktop.
import React, { Component } from 'react';
import { View, StyleSheet } from 'react-native';
import Article from './src/components/Article';
export default class App extends Component {
render() {
return (
<View style={styles.container}>
<Article />
</View>
);
}
}
const styles = StyleSheet.create({
container: {
flex: 1,
justifyContent: 'center',
alignItems: 'center',
backgroundColor: '#fff'
}
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment