Skip to content

Commit

Permalink
Merge pull request #19 from markusguenther/bugfix-android-app-index
Browse files Browse the repository at this point in the history
Fix the android app
  • Loading branch information
esbenp authored Mar 28, 2017
2 parents 1bc8369 + f6cbbc7 commit 590933f
Showing 1 changed file with 5 additions and 12 deletions.
17 changes: 5 additions & 12 deletions example/index.android.js
Original file line number Diff line number Diff line change
@@ -1,33 +1,26 @@
/**
* Sample React Native App
* https://github.com/facebook/react-native
* @flow
*/

import React, { Component } from 'react';
import {
AppRegistry,
StyleSheet,
View
} from 'react-native';
import Container from './src'

export default class example extends Component {
render() {
return (
<View style={styles.container}>

<Container />
</View>
);
}
}

const styles = StyleSheet.create({
container: {
paddingBottom: 10,
paddingLeft: 10,
paddingRight: 10,
paddingTop: 10
flex: 1,
paddingTop: 25
}
});

AppRegistry.registerComponent('example', () => example);
AppRegistry.registerComponent('example', () => example);

0 comments on commit 590933f

Please sign in to comment.