SwitchNavigator with animation support.
To use this navigator, you need to install
react-native-reanimated >= 1.0.0. If you have a managed Expo project, you need to use >= SDK 33 to have the correct version of Reanimated.
The route configs are identical to createSwitchNavigator
The switch navigator configs are identical to createSwitchNavigator.
By default, the transition between screens is a cross-fade. You can customize the transition with an additional option
Since the transition are possible thanks to the
Transition API from
react-native-reanimated, you can learn more about it here.