From 5751dcf4eeb9154ac517a445a81af2dfd6f08695 Mon Sep 17 00:00:00 2001 From: Colin Megill Date: Fri, 20 Apr 2018 14:24:13 -0700 Subject: [PATCH] icons and buttons for graph download --- src/components/graph/graph.js | 65 ++++++++++++++++++++++++++++------- 1 file changed, 53 insertions(+), 12 deletions(-) diff --git a/src/components/graph/graph.js b/src/components/graph/graph.js index a3e800dd..52363113 100644 --- a/src/components/graph/graph.js +++ b/src/components/graph/graph.js @@ -13,6 +13,10 @@ import _camera from '../../util/camera.js' import _regl from 'regl' import _drawPoints from './drawPointsRegl' +import FaExpand from 'react-icons/lib/fa/crosshairs'; +import FaZoom from 'react-icons/lib/fa/search-plus'; +import FaSave from 'react-icons/lib/fa/download'; + import { scaleRGB } from "../../util/scaleRGB"; @@ -229,7 +233,13 @@ class Graph extends React.Component { borderRadius: 3, boxShadow: "3px 4px 13px 0px rgba(201,201,201,1)", }}> -
+
- - deselected opacity - - +
+ + deselected opacity + + + + + + +
+
+ +