Skip to content

Instantly share code, notes, and snippets.

@WF-Chiang
Created April 10, 2017 02:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save WF-Chiang/0d56878c97cf5b6c8130bdbb7df0b62a to your computer and use it in GitHub Desktop.
Save WF-Chiang/0d56878c97cf5b6c8130bdbb7df0b62a to your computer and use it in GitHub Desktop.
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