From 7721a24f38ff206daaa531eb5247686b2220a1e4 Mon Sep 17 00:00:00 2001 From: Ian MacLeod Date: Sun, 24 Apr 2016 04:45:26 -0700 Subject: [PATCH] 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 --- Libraries/NavigationExperimental/NavigationExperimental.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Libraries/NavigationExperimental/NavigationExperimental.js b/Libraries/NavigationExperimental/NavigationExperimental.js index ca6bb627d..73e4b02de 100644 --- a/Libraries/NavigationExperimental/NavigationExperimental.js +++ b/Libraries/NavigationExperimental/NavigationExperimental.js @@ -21,6 +21,7 @@ const NavigationReducer = require('NavigationReducer'); const NavigationRootContainer = require('NavigationRootContainer'); const NavigationStateUtils = require('NavigationStateUtils'); const NavigationView = require('NavigationView'); +const NavigationPropTypes = require('NavigationPropTypes'); const NavigationExperimental = { // Core @@ -40,6 +41,8 @@ const NavigationExperimental = { CardStack: NavigationCardStack, Header: NavigationHeader, LegacyNavigator: NavigationLegacyNavigator, + + PropTypes: NavigationPropTypes, }; module.exports = NavigationExperimental;