Expose NavigationPropTypes via NavigationExperimental.PropTypes

Summary:Useful for building components that compose navigation components
Closes https://github.com/facebook/react-native/pull/6644

Differential Revision: D3217681

fb-gh-sync-id: 94907fed1692f2dc6603a5fbdf3a032906e3f74d
fbshipit-source-id: 94907fed1692f2dc6603a5fbdf3a032906e3f74d
This commit is contained in:
Ian MacLeod 2016-04-24 04:45:26 -07:00 committed by Facebook Github Bot 5
parent 216cbb4065
commit 7721a24f38
1 changed files with 3 additions and 0 deletions

View File

@ -21,6 +21,7 @@ const NavigationReducer = require('NavigationReducer');
const NavigationRootContainer = require('NavigationRootContainer'); const NavigationRootContainer = require('NavigationRootContainer');
const NavigationStateUtils = require('NavigationStateUtils'); const NavigationStateUtils = require('NavigationStateUtils');
const NavigationView = require('NavigationView'); const NavigationView = require('NavigationView');
const NavigationPropTypes = require('NavigationPropTypes');
const NavigationExperimental = { const NavigationExperimental = {
// Core // Core
@ -40,6 +41,8 @@ const NavigationExperimental = {
CardStack: NavigationCardStack, CardStack: NavigationCardStack,
Header: NavigationHeader, Header: NavigationHeader,
LegacyNavigator: NavigationLegacyNavigator, LegacyNavigator: NavigationLegacyNavigator,
PropTypes: NavigationPropTypes,
}; };
module.exports = NavigationExperimental; module.exports = NavigationExperimental;