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

26 lines
413 B
JavaScript
Raw Normal View History

2017-07-05 13:22:39 +00:00
import React, { Component } from 'react';
2017-07-04 22:43:50 +00:00
import {
AppRegistry,
StyleSheet,
View
2017-07-05 13:22:39 +00:00
} from 'react-native';
import App from './app';
2017-07-04 22:43:50 +00:00
export default class demo extends Component {
2017-07-04 22:57:25 +00:00
render () {
2017-07-04 22:43:50 +00:00
return (
<View style={styles.container}>
2017-07-04 22:57:25 +00:00
<App />
2017-07-04 22:43:50 +00:00
</View>
2017-07-05 13:22:39 +00:00
);
2017-07-04 22:43:50 +00:00
}
}
const styles = StyleSheet.create({
container: {
2017-07-04 22:57:25 +00:00
flex: 1
}
2017-07-05 13:22:39 +00:00
});
2017-07-04 22:43:50 +00:00
2017-07-05 13:22:39 +00:00
AppRegistry.registerComponent('demo', () => demo);