Fix typo, rename NavigationHeaderScenesTabs-example.js. to NavigationExperimental/NavigationCardStack-NavigationHeader-Tabs-example.js

Summary:
- Fix typo.
- rename NavigationHeaderScenesTabs-example.js. to NavigationExperimental/NavigationCardStack-NavigationHeader-Tabs-example.js

Differential Revision: D3431559

fbshipit-source-id: 25cd0837efced2156d608577ee7c383009c2de24
This commit is contained in:
Hedger Wang 2016-06-14 16:26:40 -07:00 committed by Facebook Github Bot 8
parent 50caf4e809
commit 4ab1bcb124
2 changed files with 3 additions and 3 deletions

View File

@ -204,7 +204,7 @@ class YourApplication extends Component {
// This public method is optional. If exists, the UI explorer will call it
// the "back button" is pressed. Normally this is the cases for Android only.
handleBackAction(): boolean {
return this._onNavigate({type: 'pop'});
return this._navigate({type: 'pop'});
}
// This handles the navigation state changes. You're free and responsible

View File

@ -33,8 +33,8 @@ const View = require('View');
* To learn how to use the Navigation API, take a look at the following example files:
*/
const EXAMPLES = {
'NavigationCardStack Example': require('./NavigationCardStack-example'),
'Header + Scenes + Tabs Example': require('./NavigationHeaderScenesTabs-example'),
'CardStack + Header + Tabs Example': require('./NavigationCardStack-NavigationHeader-Tabs-example'),
'CardStack Example': require('./NavigationCardStack-example'),
};
const EXAMPLE_STORAGE_KEY = 'NavigationExperimentalExample';