D3321403 [NavigationExperimental][CleanUp]: Rename scene.navigationState to scene.route.

Summary:
[public / experimental API breaking change]

The data type of  `scene.navigationState` is `NavigationRoute`. Rename  `scene.navigationState` to
`scene.route` to avoid confusion such as treating `scene.navigationState` as the actual global navigation
state (type: NavigationState).

Reviewed By: ericvicenti

Differential Revision: D3331076

fbshipit-source-id: 3ed989cc8492d398cbeb1b12186459deb261d1fb
This commit is contained in:
Hedger Wang
2016-05-20 18:13:30 -07:00
committed by Facebook Github Bot 4
parent a45d025385
commit fb5d0ff587
11 changed files with 56 additions and 56 deletions
@@ -192,7 +192,7 @@ class ExampleTabScreen extends React.Component {
_renderTitleComponent(props: NavigationSceneRendererProps) {
return (
<NavigationHeader.Title>
{stateTypeTitleMap(props.scene.navigationState)}
{stateTypeTitleMap(props.scene.route)}
</NavigationHeader.Title>
);
}