No Description

CAGameViewController.js 632B

1234567891011121314151617181920212223242526272829303132333435
  1. /**
  2. * Created by Sean on 2018/5/9.
  3. */
  4. import {
  5. View,
  6. Text,
  7. StyleSheet,
  8. TouchableOpacity,
  9. ScrollView
  10. } from 'react-native'
  11. import React, {Component} from 'react'
  12. import {NavigationBarHeight, TabBarHeight, ScreenDimensions} from '../../../utils/DimensionsTools'
  13. export default class CAGameViewController extends Component {
  14. constructor(props) {
  15. super(props)
  16. }
  17. render() {
  18. return(
  19. <View style={styles.View}>
  20. <Text>Game!</Text>
  21. </View>
  22. );
  23. }
  24. }
  25. const styles = StyleSheet.create({
  26. View: {
  27. width: ScreenDimensions.width,
  28. height: ScreenDimensions.height,
  29. backgroundColor: 'white'
  30. },
  31. })