{"size": 1040, "ext": "js", "max_stars_repo_path": "src/navigation/navigator.js", "max_stars_repo_name": "ingleonelrv/loginForm", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "src/navigation/navigator.js", "max_issues_repo_name": "ingleonelrv/loginForm", "max_issues_repo_issues_event_min_datetime": "2020-07-17T01:04:04.000Z", "max_issues_repo_issues_event_max_datetime": "2021-09-01T05:00:20.000Z", "max_forks_repo_path": "src/navigation/navigator.js", "max_forks_repo_name": "ingleonelrv/loginForm", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": null, "max_issues_count": 6, "max_forks_count": null, "avg_line_length": 18.2456140351, "max_line_length": 65, "alphanum_fraction": 0.6682692308}
import {
  createStackNavigator,
  createSwitchNavigator,
  createBottomTabNavigator,
  createAppContainer
} from "react-navigation";

//LOGIN SECTION
import Login from "../login/containers/loginContainer";
import RegisterAs from "../login/containers/registerAsContainer";
import Register from "../login/containers/registerContainer";
import Home from "../home";

const LoginNavigator = createStackNavigator(
  {
    Login,
    RegisterAs,
    Register
  },
  {
    initialRouteName: "Login",
    defaultNavigationOptions: {
      // headerStyle: {
      //   backgroundColor: '#2196F3',

      // },
      headerTransparent: true
    }
  }
);

const HomeStack = createBottomTabNavigator(
  {
    Home
  },
  {
    initialRouteName: "Home"
  }
);
const SwitchNavigator = createSwitchNavigator(
  {
    //   Splash,
    Login: {
      screen: LoginNavigator
    },
    Home: {
      screen: HomeStack
    }
  },
  {
    initialRouteName: "Login"
  }
);
const AppContainer = createAppContainer(SwitchNavigator);

export default AppContainer;
