/** * Sample React Native App * https://github.com/facebook/react-native * @flow */ import React, { Component } from 'react' import { AppRegistry, StyleSheet, View } from 'react-native' import App from './app' export default class demo extends Component { render () { return ( ) } } const styles = StyleSheet.create({ container: { flex: 1 } }) AppRegistry.registerComponent('demo', () => demo)