Skip to content

Commit

Permalink
Replace tabBarOptions with screenOptions (#1478)
Browse files Browse the repository at this point in the history
`tabBarOptions` is deprecated in [react navigation](https://reactnavigation.org/docs/tab-based-navigation).
  • Loading branch information
alamenai authored Jul 17, 2023
1 parent 941666c commit 82546ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -550,7 +550,7 @@ function MyTabs() {
return (
<Tab.Navigator
initialRouteName="Feed"
tabBarOptions={{
screenOptions={{
activeTintColor: '#e91e63',
}}
>
Expand Down

0 comments on commit 82546ba

Please sign in to comment.