mirror of
https://github.com/status-im/react-navigation.git
synced 2025-02-25 01:28:16 +00:00
Pull onTransitionStart from navigationConfig, fixes #4100
This commit is contained in:
parent
1fe11c100e
commit
ebdd2da79f
@ -24,7 +24,7 @@ class StackView extends React.Component {
|
|||||||
screenProps={this.props.screenProps}
|
screenProps={this.props.screenProps}
|
||||||
navigation={this.props.navigation}
|
navigation={this.props.navigation}
|
||||||
descriptors={this.props.descriptors}
|
descriptors={this.props.descriptors}
|
||||||
onTransitionStart={this.props.onTransitionStart}
|
onTransitionStart={this.props.navigationConfig.onTransitionStart}
|
||||||
onTransitionEnd={(transition, lastTransition) => {
|
onTransitionEnd={(transition, lastTransition) => {
|
||||||
const { navigationConfig, navigation } = this.props;
|
const { navigationConfig, navigation } = this.props;
|
||||||
const { onTransitionEnd } = navigationConfig;
|
const { onTransitionEnd } = navigationConfig;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user