Navigator transitions

Spread the love

A normal Navigator with transitions is push from right.

 <Navigator
     style={styles.container}
     initialRoute={initialRoute}
     configureScene={() => Navigator.SceneConfigs.PushFromRight}
     renderScene={RouteMapper}
 />

We also can change the transitions type by replacing PushFromRight by one of the following types:

PushFromRight
FloatFromRight
FloatFromLeft
FloatFromBottom
FloatFromBottomAndroid
FadeAndroid
HorizontalSwipeJump
HorizontalSwipeJumpFromRight
VerticalUpSwipeJump
VerticalDownSwipeJump

Leave a Reply

Your email address will not be published. Required fields are marked *