Skip to content

Commit

Permalink
Sync the android and the iOS index.js
Browse files Browse the repository at this point in the history
The android index does not load the container component.
  • Loading branch information
Markus Guenther committed Mar 27, 2017
1 parent 0b02723 commit f6cbbc7
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 f6cbbc7

Please sign in to comment.