Commit 47c87102 authored by huanglu's avatar huanglu

fix: update

parent acf9123e
import React from 'react' import React from 'react'
import { BaseRouteConfig } from "./routes" import { BaseRouteConfig } from "./routes"
import { createStackNavigator } from "@react-navigation/stack" import { createStackNavigator } from "@react-navigation/stack"
import { Text } from 'react-native'
const Stack = createStackNavigator() const Stack = createStackNavigator()
...@@ -12,7 +13,9 @@ const configtabChildren = (components: [BaseRouteConfig]) => { ...@@ -12,7 +13,9 @@ const configtabChildren = (components: [BaseRouteConfig]) => {
name={com.name} name={com.name}
component={com.component as any} component={com.component as any}
options={{ options={{
...com.options || {} headerBackTitle: ' ',
headerTintColor: 'black',
...com.options || {},
}} }}
/> />
) )
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment