{"size": 637, "ext": "js", "max_stars_repo_path": "src/layout/Main.js", "max_stars_repo_name": "miltonmc/appointments", "max_stars_repo_stars_event_min_datetime": "2020-11-26T21:47:40.000Z", "max_stars_repo_stars_event_max_datetime": "2021-03-19T13:33:41.000Z", "max_issues_repo_path": "src/layout/Main.js", "max_issues_repo_name": "miltonmc/appointments", "max_issues_repo_issues_event_min_datetime": "2020-01-02T02:12:54.000Z", "max_issues_repo_issues_event_max_datetime": "2022-03-31T16:03:25.000Z", "max_forks_repo_path": "src/layout/Main.js", "max_forks_repo_name": "miltonmc/appointments", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": 3, "max_issues_count": 662, "max_forks_count": null, "avg_line_length": 30.3333333333, "max_line_length": 77, "alphanum_fraction": 0.6671899529}
import React from 'react';
import { Route } from 'react-router-dom';
import Calendar from '../components/Calendar';
import { CALENDAR, CUSTOMER, EVENT, HEALTH_PLAN } from '../constants/Routes';
import Customer from '../customer/List';
import Event from '../event/List';
import HealthPlan from '../health-plan/List';

const Main = () => {
  return (
    <main>
      <Route exact path={CALENDAR} component={Calendar} />
      <Route exact path={EVENT} component={Event} />
      <Route exact path={CUSTOMER} component={Customer} />
      <Route exact path={HEALTH_PLAN} component={HealthPlan} />
    </main>
  );
};

export default Main;
