home.js
469 Bytes
import React, {Component} from "react";
import { StyleSheet, View, Text } from 'react-native'
export default class Home extends Component {
render(){
return (
<View style={styles.viewBody}>
<Text >Home Screen</Text>
</View>
)
}
}
const styles = StyleSheet.create ({
viewBody : {
flex:1,
backgroundColor: '#fff',
alignItems:'center',
justifyContent:'center',
}
})