Source: containers/ConfigurationContainer.js

import React, { Component } from 'react';
import MonitoredAreaConfiguration from '../components/userComponents/monitoredArea/configuration/MonitoredAreaConfiguration';
import { Route, Switch } from 'react-router-dom';
import MonitoredAreaDetail from '../components/userComponents/monitoredArea/detail/MonitoredAreaDetail';
import {TableOfMonitoredAreasConfiguration} from "../components/userComponents/monitoredArea/table/TableOfMonitoredAreasConfiguration";
import MonitoredAreaAnnotation from "../components/userComponents/monitoredArea/Annotation/MonitoredAreaAnnotation";
import AddParametersForm from '../components/userComponents/forms/AddParametersForm';
import AddMonitoredAreaForm from '../components/userComponents/forms/AddMonitoredAreaForm';

/**
 * @extends Component
 * @hideconstructor
 */
class ConfigurationContainer extends Component {
  /**
   *
   * @returns {*}
   */
  render() {
    return (
      <div className="content-wrapper">
      {/*<MonitoredAreaConfiguration/>*/}
        <Switch>
          <Route exact path="/config" component={MonitoredAreaConfiguration}/>
          <Route exact path="/config/new" component={AddMonitoredAreaForm}/>
          <Route exact path="/config/edit/:id" component={AddMonitoredAreaForm}/>
          <Route exact path="/config/detail/:id" component={MonitoredAreaDetail}/>
          <Route exact path="/config/annotation/:id" component={MonitoredAreaAnnotation}/>
          <Route exact path="/config/parameters/:id" component={AddParametersForm}/>
        </Switch>
      </div>
    );
  }
}

export default ConfigurationContainer;