import React, {Component} from 'react'; import Global from '../utils/Global'; import Utils from '../utils/Utils'; import {Button, Dimensions, Image, PixelRatio, StatusBar, StyleSheet, Text, TouchableOpacity, View, Platform} from 'react-native'; const {width} = Dimensions.get('window'); export default class CommonTitleBar extends Component { constructor(props) { super(props); } renderAndroid() { return ( {this.props.title} { Utils.isEmpty(this.props.rightIcon) ? (null) : ( this.handleRightClick()}> ) } { Utils.isEmpty(this.props.rightBtnText) ? (null) : (