Dulce-Work-Schedule/2018.1-Dulce_App

View on GitHub
src/Navigators/ListProfileNavigator.js

Summary

Maintainability
A
0 mins
Test Coverage
import ListProfile from '../Screens/ListProfile';
import NewProfile from '../Screens/NewProfile';
import ProfileSchedule from '../Routes/ProfileSchedule';

import {StackNavigator} from 'react-navigation';

const routes = {
  profile: {
    screen: ListProfile,
    navigationOptions: {
      header: null
    }
  },
  newProfile: {
    screen: NewProfile,
    navigationOptions: {
      header: null
    }
  },
  initial: {
    screen: ProfileSchedule,
    navigationOptions: {
      header: null
    }
  }
};

const config = {};

const ListProfileNavigator = StackNavigator(routes, config);

export default ListProfileNavigator;