From 3ade81e6667fcbc0424022c6d8522c1d63a47599 Mon Sep 17 00:00:00 2001 From: ronreg-ribdev <56719257+ronreg-ribdev@users.noreply.github.com> Date: Mon, 1 Jun 2020 02:39:14 -0700 Subject: [PATCH] Start adding ElevatorWidget --- src/js/components/root.js | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) 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