import React from "react"
import {BrowserRouter, Switch, Route} from "react-router-dom"
import {DisplayAllCars} from "./components/DisplayAllCars"


import "./css/App.css"


export const App = props =>
{
    return (
    <BrowserRouter>
        <Switch>                 
        <Route exact path="/" component={DisplayAllCars} />
        <Route exact path="/DisplayAllCars" component={DisplayAllCars}/> 
        <Route path="*" component={DisplayAllCars}/>                            
        </Switch>
    </BrowserRouter>
    )
}