Skip to content

Commit

Permalink
fix case of letters. issue on github: aksonov/react-native-router-flu…
Browse files Browse the repository at this point in the history
  • Loading branch information
TwilightOwl committed Jul 26, 2018
1 parent 0b8a5a0 commit 0cbc1ce
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions src/navigators/DrawerNavigator.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import SafeAreaView from 'react-native-safe-area-view';

import createNavigator from './createNavigator';
import createNavigationContainer from '../createNavigationContainer';
import TabRouter from '../routers/TabRouter';
import tabRouter from '../routers/TabRouter';
import DrawerScreen from '../views/Drawer/DrawerScreen';
import DrawerView from '../views/Drawer/DrawerView';
import DrawerItems from '../views/Drawer/DrawerNavigatorItems';
Expand Down Expand Up @@ -63,8 +63,8 @@ const DrawerNavigator = (routeConfigs, config = {}) => {
...tabsConfig
} = mergedConfig;

const contentRouter = TabRouter(routeConfigs, tabsConfig);
const drawerRouter = TabRouter(
const contentRouter = tabRouter(routeConfigs, tabsConfig);
const drawerRouter = tabRouter(
{
[drawerCloseRoute]: {
screen: createNavigator(contentRouter, routeConfigs, config)(props => (
Expand Down
4 changes: 2 additions & 2 deletions src/navigators/StackNavigator.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import React from 'react';
import createNavigationContainer from '../createNavigationContainer';
import createNavigator from './createNavigator';
import CardStackTransitioner from '../views/CardStack/CardStackTransitioner';
import StackRouter from '../routers/StackRouter';
import stackRouter from '../routers/StackRouter';
import NavigationActions from '../NavigationActions';

// A stack navigators props are the intersection between
Expand Down Expand Up @@ -30,7 +30,7 @@ export default (routeConfigMap, stackConfig = {}) => {
navigationOptions,
};

const router = StackRouter(routeConfigMap, stackRouterConfig);
const router = stackRouter(routeConfigMap, stackRouterConfig);

// Create a navigator with CardStackTransitioner as the view
const navigator = createNavigator(router, routeConfigMap, stackConfig)(
Expand Down
4 changes: 2 additions & 2 deletions src/navigators/TabNavigator.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { Platform } from 'react-native';

import createNavigator from './createNavigator';
import createNavigationContainer from '../createNavigationContainer';
import TabRouter from '../routers/TabRouter';
import tabRouter from '../routers/TabRouter';
import TabView from '../views/TabView/TabView';
import TabBarTop from '../views/TabView/TabBarTop';
import TabBarBottom from '../views/TabView/TabBarBottom';
Expand All @@ -26,7 +26,7 @@ const TabNavigator = (routeConfigs, config = {}) => {
...tabsConfig
} = mergedConfig;

const router = TabRouter(routeConfigs, tabsConfig);
const router = tabRouter(routeConfigs, tabsConfig);

const navigator = createNavigator(router, routeConfigs, config)(props => (
<TabView
Expand Down

0 comments on commit 0cbc1ce

Please sign in to comment.