Created
April 10, 2017 02:04
-
-
Save WF-Chiang/0d56878c97cf5b6c8130bdbb7df0b62a 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
import React, { Component } from 'react'; | |
import { | |
AppRegistry, | |
StyleSheet, | |
Text, | |
View | |
} from 'react-native'; | |
export default class HelloReactNativeDemo extends Component { | |
render() { | |
return ( | |
<View style={styles.container}> | |
<Text> | |
<!-- 省略 --> | |
</Text> | |
</View> | |
); | |
} | |
} | |
const styles = StyleSheet.create({ | |
//省略 | |
}); | |
AppRegistry.registerComponent('HelloReactNativeDemo', () => HelloReactNativeDemo); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment