mirror of
https://github.com/zhigang1992/react-navigation.git
synced 2026-02-09 22:51:57 +08:00
* Automatically generate prop-types from Flow * Remove propTypes usage * Fix flow * Modify some eslint settings * Fix flowtype * Lint tweaks * use prop-types pkg * Run prettier * Fix flow * Fix few lint issues * Make eslint pass * Run lint on tests * Fix flow * Fixes * Alphabetical * Trailing comma: ES5 for website compat, also fix config/paths * Apply eslint --fix only to src now * Fix missing transitionconfig * Update TypeDefinition.js * New stuff * Unstage website and examples * reformat code * Update circle.yml
40 lines
888 B
JavaScript
40 lines
888 B
JavaScript
/*
|
|
* @noflow - get/set properties not yet supported by flow. also `...require(x)` is broken #6560135
|
|
*/
|
|
|
|
/* eslint global-require: 0 */
|
|
|
|
module.exports = {
|
|
// Core
|
|
get createNavigationContainer() {
|
|
return require('./createNavigationContainer').default;
|
|
},
|
|
get StateUtils() {
|
|
return require('./StateUtils').default;
|
|
},
|
|
get addNavigationHelpers() {
|
|
return require('./addNavigationHelpers').default;
|
|
},
|
|
get NavigationActions() {
|
|
return require('./NavigationActions').default;
|
|
},
|
|
|
|
// Navigators
|
|
get createNavigator() {
|
|
return require('./navigators/createNavigator').default;
|
|
},
|
|
|
|
// Routers
|
|
get StackRouter() {
|
|
return require('./routers/StackRouter').default;
|
|
},
|
|
get TabRouter() {
|
|
return require('./routers/TabRouter').default;
|
|
},
|
|
|
|
// HOCs
|
|
get withNavigation() {
|
|
return require('./views/withNavigation').default;
|
|
},
|
|
};
|