import React, {Component} from 'react'; import {Image, TouchableOpacity, View} from 'react-native'; import {createStackNavigator} from '@react-navigation/stack'; import tax_message from '../../page/tax_message/tax_message'; import message_list from '../../page/tax_message/message_list'; // import preview_pdf from '../onlinePreviewPDF/preview_pdf'; // import invoice_application from '../../page/invoiceApplication/invoice_application'; // import sweep_code_invoice from '../../page/sweepCodeInvoice/sweep_code_invoice'; // import invoice_user from '../../page/invoice/invoice_user'; const TaxStack = createStackNavigator(); export default class tax_navigation extends Component { constructor(props) { super(props); } render() { return ( {/**/} {/**/} {/* (*/} {/* */} {/* {*/} {/* this.props.navigation.navigate('invoice_product_list_add');*/} {/* }}>*/} {/* */} {/* */} {/* */} {/* ),*/} {/* headerStyle: {*/} {/* backgroundColor: '#1199EA',*/} {/* },*/} {/* headerTintColor: '#fff',*/} {/* }}*/} {/*/>*/} {/**/} {/**/} {/**/} {/**/} {/**/} {/* (*/} {/* */} {/* {*/} {/* this.props.navigation.navigate('invoice_head', {*/} {/* isShow: true,*/} {/* });*/} {/* }}>*/} {/* */} {/* */} {/* */} {/* ),*/} {/* headerStyle: {*/} {/* backgroundColor: '#1199EA',*/} {/* },*/} {/* headerTintColor: '#fff',*/} {/* }}*/} {/*/>*/} {/* (*/} {/* */} {/* {*/} {/* this.props.navigation.navigate('invoice_head_product_add');*/} {/* }}>*/} {/* */} {/* */} {/* */} {/* ),*/} {/* headerStyle: {*/} {/* backgroundColor: '#1199EA',*/} {/* },*/} {/* headerTintColor: '#fff',*/} {/* }}*/} {/*/>*/} {/**/} {/**/} {/**/} {/* (*/} {/* */} {/* {*/} {/* this.props.navigation.navigate('customer_add');*/} {/* }}>*/} {/* */} {/* */} {/* */} {/* ),*/} {/* headerStyle: {*/} {/* backgroundColor: '#1199EA',*/} {/* },*/} {/* headerTintColor: '#fff',*/} {/* }}*/} {/*/>*/} {/**/} {/**/} {/**/} {/**/} {/**/} {/* (*/} {/* */} {/* {*/} {/* this.props.navigation.navigate(*/} {/* 'invoice_qrcode_product_list_add',*/} {/* );*/} {/* }}>*/} {/* */} {/* */} {/* */} {/* ),*/} {/* headerStyle: {*/} {/* backgroundColor: '#1199EA',*/} {/* },*/} {/* headerTintColor: '#fff',*/} {/* }}*/} {/*/>*/} {/**/} {/**/} {/**/} {/**/} ); } shouldComponentUpdate( nextProps: Readonly

, nextState: Readonly, nextContext: any, ): boolean { if (nextProps.route.state.index === 0) { this.props.navigation.setOptions({ tabBarVisible: true, }); } return true; } }