Animation prop for screen transistion
Raiden-16F7 opened this issue · 0 comments
Raiden-16F7 commented
How can i change screen animation prop which is provided by default in react-navigation/bottom-tabs
The code below doesnt add any animations
function RootTabs() {
return (
<Tab.Navigator
screenOptions={{
animation: 'fade',
}}
>
<Tab.Screen name="Home" component={HomeScreen} />
<Tab.Screen name="Profile" component={ProfileScreen} />
</Tab.Navigator>
);
}