GamePage.js 453 B

1234567891011121314151617181920
  1. import React from "react"
  2. import { View ,Text,StyleSheet} from "react-native"
  3. export default class GamePage extends React.Component{
  4. render(){
  5. return (
  6. <View style={styles.container}>
  7. <Text>GamePage</Text>
  8. </View>
  9. )
  10. }
  11. }
  12. const styles = StyleSheet.create({
  13. container:{
  14. flex:1,
  15. justifyContent:"center",
  16. alignItems:"center",
  17. backgroundColor:"#ff0"
  18. }
  19. })