{"size": 1337, "ext": "js", "max_stars_repo_path": "mobile/src/routes.js", "max_stars_repo_name": "iagocolodetti/agenda-node-react-fullstack", "max_stars_repo_stars_event_min_datetime": "2021-04-15T19:40:47.000Z", "max_stars_repo_stars_event_max_datetime": "2021-04-15T19:40:47.000Z", "max_issues_repo_path": "mobile/src/routes.js", "max_issues_repo_name": "iagocolodetti/agenda-node-react-fullstack", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "mobile/src/routes.js", "max_forks_repo_name": "iagocolodetti/agenda-node-react-fullstack", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": 1, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 21.564516129, "max_line_length": 62, "alphanum_fraction": 0.5983545251}
import { createAppContainer } from 'react-navigation';
import { createStackNavigator } from 'react-navigation-stack';

import Login from './pages/Login';
import NewUser from './pages/NewUser';
import Contacts from './pages/Contacts';
import Contact from './pages/Contact';
import NewContact from './pages/NewContact';
import UpdateContact from './pages/UpdateContact';

const Routes = createAppContainer(
  createStackNavigator({
    Login: {
      screen: Login,
      navigationOptions: {
        title: 'Login'
      }
    },
    NewUser: {
      screen: NewUser,
      navigationOptions: {
        title: 'Novo Usuário'
      }
    },
    Contacts: {
      screen: Contacts,
      navigationOptions: {
        title: 'Contatos'
      }
    },
    Contact: {
      screen: Contact,
      navigationOptions: {
        title: 'Contato'
      }
    },
    NewContact: {
      screen: NewContact,
      navigationOptions: {
        title: 'Novo Contato'
      }
    },
    UpdateContact: {
      screen: UpdateContact,
      navigationOptions: {
        title: 'Atualizar Contato'
      }
    }
  }, {
    defaultNavigationOptions: {
      headerTintColor: '#fff',
      headerBackTitleVisible: false,
      headerTitleAlign: 'center',
      headerStyle: {
        backgroundColor: '#3c3c3c'
      }
    }
  })
);

export default Routes;
