text: import React, {Component} from 'react';
  import {StatusBar, StyleSheet, View} from 'react-native';
  import Styles from '../constants/Styles';
  
  export default class MainShoppingCart extends Component<Props> {
  
      static navigationOptions = ({navigation}) => ({
          headerTitle: '购物车',
          headerTitleStyle: Styles.titleStyle,
          headerStyle: Styles.titleBarStyle,
          gesturesEnabled: true
      });
  
      render() {
          return <View style={styles.container}>
              <StatusBar
                  translucent={false}
                  barStyle={'dark-content'}
                  networkActivityIndicatorVisible={true}/>
          </View>
      }
  }
  
  const styles = StyleSheet.create({
      container: {
          flex: 1
      }
  });