index.js 651 字节
Newer Older
YYYTDMS's avatar
YYYTDMS 已提交
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33
import React, {Component} from 'react';
import {View, Text, StyleSheet} from 'react-native';
class Analysis extends Component {
  constructor(props) {
    super(props);
  }

  render() {
    return (
      <View
        style={{
          display: this.props.show ? 'flex' : 'none',
          backgroundColor: '#F2E2CE',
          flex: 1,
        }}>
        <Text style={styles.text}>数据分析模块</Text>
      </View>
    );
  }
}
const styles = StyleSheet.create({
  container: {
    backgroundColor: '#F2E2CE',
    flex: 1,
  },
  text: {
    fontSize: 50,
    fontWeight: 'bold',
    textAlign: 'center',
  },
});

export default Analysis;