Last active
September 7, 2017 12:21
-
-
Save asgvard/2fb5b4ded7608766eaabfd6a11710169 to your computer and use it in GitHub Desktop.
React Native Component Boilerplate
This file contains hidden or 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
import React, {Component} from 'react'; | |
import PropTypes from 'prop-types'; | |
import { | |
View, | |
StyleSheet | |
} from 'react-native'; | |
const styles = StyleSheet.create({ | |
}); | |
class Something extends Component { | |
constructor(props) { | |
super(props); | |
this.state = { | |
}; | |
} | |
render() { | |
return (<View />); | |
} | |
} | |
Something.propTypes = { | |
}; | |
export default Something; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment