From f6cbbc7b8ebd27b9f8f03bdba942999f8c6befc1 Mon Sep 17 00:00:00 2001 From: Markus Guenther Date: Mon, 27 Mar 2017 22:55:16 +0200 Subject: [PATCH] Sync the android and the iOS index.js The android index does not load the container component. --- example/index.android.js | 17 +++++------------ 1 file changed, 5 insertions(+), 12 deletions(-) diff --git a/example/index.android.js b/example/index.android.js index e7aac1c..bc45f74 100644 --- a/example/index.android.js +++ b/example/index.android.js @@ -1,21 +1,16 @@ -/** - * 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 ( - + ); } @@ -23,11 +18,9 @@ export default class example extends Component { 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); \ No newline at end of file