diff --git a/src/js/components/root.js b/src/js/components/root.js index 07a5e95..8fd786b 100644 --- a/src/js/components/root.js +++ b/src/js/components/root.js @@ -1,8 +1,16 @@ import React, { Component } from 'react'; -import { BrowserRouter, Route } from "react-router-dom"; +import { BrowserRouter, Route, Link } from "react-router-dom"; import _ from 'lodash'; import { HeaderBar } from "./lib/header-bar.js" +class ElevatorWidget extends Component { + render() { + return (
+ Elevator info +
); + } +} + class TimeScheduleWidget extends Component { constructor(props) { super(props) @@ -84,10 +92,12 @@ export class Root extends Component {
+ }/> { return (

BART Info

+ Elevator information