From 0f1a9a4d9268841eace576258bc65f03988aff3a Mon Sep 17 00:00:00 2001 From: Andrew Watkins Date: Tue, 22 Aug 2017 13:51:30 -0700 Subject: [PATCH] Make input SFC --- ui/src/dashboards/components/AxesOptions.js | 39 ++++++++----------- .../components/DisplayOptionsInput.js | 28 +++++++++++++ 2 files changed, 44 insertions(+), 23 deletions(-) create mode 100644 ui/src/data_explorer/components/DisplayOptionsInput.js diff --git a/ui/src/dashboards/components/AxesOptions.js b/ui/src/dashboards/components/AxesOptions.js index a232212269..c2fb4c8137 100644 --- a/ui/src/dashboards/components/AxesOptions.js +++ b/ui/src/dashboards/components/AxesOptions.js @@ -1,6 +1,7 @@ import React, {PropTypes} from 'react' import OptIn from 'shared/components/OptIn' +import Input from 'src/data_explorer/components/DisplayOptionsInput' const AxesOptions = ({ axes: {y: {bounds, label, prefix, suffix, base, defaultYLabel}}, @@ -43,30 +44,22 @@ const AxesOptions = ({ type="number" /> + +
- - -
-
- - -
-
- +