Sintaxe antiga do interruptor do roteador

import { BrowserRouter as Router, Switch, Route, Link } from "react-router-dom";

<Switch>
    <Route path="/home" component={Home} />
</Switch>
Shiny Shark