diff --git a/Examples/UIExplorer/js/NavigationExperimental/NavigationCardStack-NavigationHeader-Tabs-example.js b/Examples/UIExplorer/js/NavigationExperimental/NavigationCardStack-NavigationHeader-Tabs-example.js index ec661b086..eea7d56d7 100644 --- a/Examples/UIExplorer/js/NavigationExperimental/NavigationCardStack-NavigationHeader-Tabs-example.js +++ b/Examples/UIExplorer/js/NavigationExperimental/NavigationCardStack-NavigationHeader-Tabs-example.js @@ -333,10 +333,10 @@ const YourHeader = createAppNavigationContainer(class extends Component { this.props.navigate({type: 'pop'}); } - _renderTitleComponent(): ReactElement { + _renderTitleComponent(props: Object): ReactElement { return ( - {this.props.scene.route.key} + {props.scene.route.key} ); }