64 lines
1.7 KiB
JavaScript
Raw Normal View History

2018-08-03 14:59:12 -07:00
/* eslint-disable import/no-commonjs */
2018-10-15 13:17:12 -07:00
import { Platform } from 'react-native';
2018-08-03 14:59:12 -07:00
module.exports = {
/**
* Navigators
*/
get createStackNavigator() {
return require('./navigators/createStackNavigator').default;
},
/**
* Views
*/
2018-10-15 13:17:12 -07:00
get Assets() {
return Platform.select({
ios: [
require('./views/assets/back-icon.png'),
require('./views/assets/back-icon-mask.png'),
],
android: [require('./views/assets/back-icon.png')],
});
},
2018-08-03 14:59:12 -07:00
get Header() {
return require('./views/Header/Header').default;
},
get HeaderBackButton() {
return require('./views/Header/HeaderBackButton').default;
},
get HeaderTitle() {
return require('./views/Header/HeaderTitle').default;
},
get HeaderStyleInterpolator() {
return require('./views/Header/HeaderStyleInterpolator').default;
},
get StackView() {
return require('./views/StackView/StackView').default;
},
get StackViewCard() {
return require('./views/StackView/StackViewCard').default;
},
get StackViewLayout() {
return require('./views/StackView/StackViewLayout').default;
},
get StackViewStyleInterpolator() {
return require('./views/StackView/StackViewStyleInterpolator').default;
},
get StackViewTransitionConfigs() {
return require('./views/StackView/StackViewTransitionConfigs').default;
},
get createPointerEventsContainer() {
return require('./views/StackView/createPointerEventsContainer').default;
},
get Transitioner() {
return require('./views/Transitioner').default;
},
get ScenesReducer() {
return require('./views/ScenesReducer').default;
},
get StackGestureContext() {
return require('./utils/StackGestureContext').default;
2018-10-12 11:23:17 -07:00
},
2018-08-03 14:59:12 -07:00
};