BasePage.js 475 B

12345678910111213141516171819202122232425262728293031
  1. import React, { Component } from 'react';
  2. import {
  3. View,
  4. Image,
  5. } from 'react-native';
  6. export default class BasePage extends Component {
  7. static navigationOptions = {
  8. headerBackImage:(
  9. <View style={{marginLeft:18}}>
  10. <Image
  11. source={{uri: 'uu_back-icon'}}
  12. style={{ width: 12, height: 20,marginRight:6}}
  13. />
  14. </View>
  15. ), //使用组件
  16. }
  17. }