316634f5b7
* created react base and updated build to use android sdk 23 * add nodejs install step to travis build script * added simple build script to create the react native bundle before the buildozer APK build
25 lines
520 B
JavaScript
25 lines
520 B
JavaScript
import React from 'react';
|
|
import {AppRegistry, StyleSheet, Text, View} from 'react-native';
|
|
|
|
class InfoComponent extends React.Component {
|
|
render() {
|
|
return (
|
|
<View style={styles.container}>
|
|
<Text style={styles.title}>LBRY UI</Text>
|
|
</View>
|
|
);
|
|
}
|
|
}
|
|
var styles = StyleSheet.create({
|
|
container: {
|
|
flex: 1,
|
|
justifyContent: 'center',
|
|
},
|
|
title: {
|
|
fontSize: 20,
|
|
textAlign: 'center',
|
|
margin: 10,
|
|
},
|
|
});
|
|
|
|
AppRegistry.registerComponent('LBRYApp', () => InfoComponent);
|