From 5e24c8f2e65db88870fc875650c54640b922f8f3 Mon Sep 17 00:00:00 2001 From: Stefano Pigozzi Date: Wed, 19 May 2021 20:16:23 +0200 Subject: [PATCH] =?UTF-8?q?=E2=9C=A8=20Add=20stats=20to=20the=20visualizat?= =?UTF-8?q?ion=20selector?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/interactive/PickerVisualization.js | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/nest_frontend/components/interactive/PickerVisualization.js b/nest_frontend/components/interactive/PickerVisualization.js index 5baeed7..4ed09c5 100644 --- a/nest_frontend/components/interactive/PickerVisualization.js +++ b/nest_frontend/components/interactive/PickerVisualization.js @@ -1,6 +1,15 @@ import React from "react" import ButtonIconOnly from "../base/ButtonIconOnly" -import { faAt, faChartBar, faClock, faCloud, faHashtag, faMap, faMapPin } from "@fortawesome/free-solid-svg-icons" +import { + faAt, + faChartBar, + faClock, + faCloud, + faHashtag, + faMap, + faMapPin, + faStar, +} from "@fortawesome/free-solid-svg-icons" export default function PickerVisualization({ currentTab, setTab, ...props }) { @@ -9,6 +18,7 @@ export default function PickerVisualization({ currentTab, setTab, ...props }) { setTab("wordcloud")} disabled={currentTab === "wordcloud"} color={"Grey"} icon={faCloud}/> setTab("histogram")} disabled={currentTab === "histogram"} color={"Grey"} icon={faChartBar}/> setTab("map")} disabled={currentTab === "map"} color={"Grey"} icon={faMap}/> + setTab("stats")} disabled={currentTab === "stats"} color={"Grey"} icon={faStar}/> ) }