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:
parent
216cbb4065
commit
7721a24f38
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue