Created
February 23, 2016 15:05
-
-
Save ChangJoo-Park/2c66a110def61ba6a336 to your computer and use it in GitHub Desktop.
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
/** | |
* Sample React Native App | |
* https://github.com/facebook/react-native | |
*/ | |
'use strict'; | |
import React, { | |
AppRegistry, | |
Component, | |
StyleSheet, | |
Text, | |
View | |
} from 'react-native'; | |
var MainView = require('./App/MainView'); | |
class tableViewTest extends Component { | |
render() { | |
return ( | |
<View style={styles.container}> | |
<MainView /> | |
</View> | |
); | |
} | |
} | |
const styles = StyleSheet.create({ | |
container: { | |
paddingTop: 30 | |
}, | |
}); | |
AppRegistry.registerComponent('tableViewTest', () => tableViewTest); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment