Skip to content

Instantly share code, notes, and snippets.

@jungchris
Created April 13, 2017 22:01
Show Gist options
  • Star 3 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jungchris/0be463b4895e79ce8dfc1f280f830861 to your computer and use it in GitHub Desktop.
Save jungchris/0be463b4895e79ce8dfc1f280f830861 to your computer and use it in GitHub Desktop.
React Native Component Template
import React, { Component } from 'react';
import {
StyleSheet,
Text,
View
} from 'react-native';
export default class Template extends Component {
render() {
return (
<View style={styles.container}>
</View>
);
}
}
const styles = StyleSheet.create({
container: {
flex: 1,
justifyContent: 'center',
alignItems: 'center',
backgroundColor: '#F5FCFF'
}
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment