Routes.jsx 415 Bytes
Newer Older
David Haynes's avatar
David Haynes committed
1 2
import React from "react";
import { Route } from "react-router-dom";
3
import { HomePage, AboutPage, DhaynesPage, DebugCRUD } from "Components";
Zach Osman's avatar
Zach Osman committed
4 5

const Routes = () => (
David Haynes's avatar
David Haynes committed
6 7 8 9
  <div>
    <Route path="/" exact component={HomePage} />
    <Route path="/dhaynes" component={DhaynesPage} />
    <Route path="/about" component={AboutPage} />
10
    <Route path="/debug" component={DebugCRUD} />
David Haynes's avatar
David Haynes committed
11
  </div>
Zach Osman's avatar
Zach Osman committed
12 13 14
);

export default Routes;