lbry-fdroid/app/index.js
akinwale 316634f5b7
Integrate build process with React Native (#18)
* 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
2017-12-28 19:06:31 +01:00

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);