mirror of
https://github.com/zhigang1992/react-navigation.git
synced 2026-04-24 04:25:34 +08:00
Add support for custom transitionConfig (#1187)
* Fix transitionConfig regression * Fix flow * Add doc * Update StackNavigator.md * Update StackNavigator.md * Update CardStackTransitioner.js * Update TypeDefinition.js
This commit is contained in:
@@ -85,6 +85,7 @@ Visual options:
|
||||
- `screen` - Each screen has a header attached to it and the header fades in and out together with the screen. This is a common pattern on Android.
|
||||
- `none` - No header will be rendered.
|
||||
- `cardStyle` - Use this prop to override or extend the default style for an individual card in stack.
|
||||
- `transitionConfig` - Function to return an object that overrides default screen transitions.
|
||||
- `onTransitionStart` - Function to be invoked when the card transition animation is about to start.
|
||||
- `onTransitionEnd` - Function to be invoked once the card transition animation completes.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user