0 Star 0 Fork 161

yangfan0108 / react-native-gitosc

forked from rplees / react-native-gitosc 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
index.android.js 1.01 KB
一键复制 编辑 原始数据 按行查看 历史
rplees 提交于 2016-03-14 17:27 . repo detail compenents
/**
* Sample React Native App
* https://github.com/facebook/react-native
*/
'use strict';
const React = require("react-native");
const {
AppRegistry,
Component,
StyleSheet,
Text,
View,
} = React;
class OSCGit extends Component {
render() {
return (
<View style={styles.container}>
<Text style={styles.welcome}>
Welcome to React Native!
</Text>
<Text style={styles.instructions}>
To get started, edit index.android.js
</Text>
<Text style={styles.instructions}>
Shake or press menu button for dev menu
</Text>
</View>
);
}
}
const styles = StyleSheet.create({
container: {
flex: 1,
justifyContent: 'center',
alignItems: 'center',
backgroundColor: '#F5FCFF',
},
welcome: {
fontSize: 20,
textAlign: 'center',
margin: 10,
},
instructions: {
textAlign: 'center',
color: '#333333',
marginBottom: 5,
},
});
AppRegistry.registerComponent('OSCGit', () => OSCGit);
1
https://gitee.com/yangfan01088/react-native-gitosc.git
git@gitee.com:yangfan01088/react-native-gitosc.git
yangfan01088
react-native-gitosc
react-native-gitosc
master

搜索帮助