react-native-firebase/example/demo/index.android.js

32 lines
496 B
JavaScript

/**
* 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 (
<View style={styles.container}>
<App />
</View>
)
}
}
const styles = StyleSheet.create({
container: {
flex: 1
}
})
AppRegistry.registerComponent('demo', () => demo)