Skip to content

Commit

Permalink
fix:更改bottom-tab标题剧中
Browse files Browse the repository at this point in the history
  • Loading branch information
wanngzelin committed May 11, 2024
1 parent aa80d2b commit a3f2a92
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "tsrntemp",
"version": "1.2.2",
"version": "1.2.4",
"description": "Clean and minimalist React Native template for a quick start with TypeScript.",
"scripts": {
"test": "exit 0"
Expand Down
1 change: 1 addition & 0 deletions template/src/route/BottomTab.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ const BottomTab: React.FC = () => {
<Tab.Navigator
screenOptions={{
tabBarActiveTintColor: color.primary[400],
headerTitleAlign:'center'
}}
backBehavior={'none'}>
<Tab.Screen
Expand Down

0 comments on commit a3f2a92

Please sign in to comment.