|
|
@@ -1,5 +1,5 @@
|
|
|
import React, { PureComponent } from 'react';
|
|
|
-import { GaugeOptions, PanelOptionsProps, PanelOptionSection } from '@grafana/ui';
|
|
|
+import { GaugeOptions, PanelOptionsProps, PanelOptionsGroup } from '@grafana/ui';
|
|
|
|
|
|
import { Switch } from 'app/core/components/Switch/Switch';
|
|
|
import { Label } from '../../../core/components/Label/Label';
|
|
|
@@ -20,7 +20,7 @@ export default class GaugeOptionsEditor extends PureComponent<PanelOptionsProps<
|
|
|
const { maxValue, minValue, showThresholdLabels, showThresholdMarkers } = options;
|
|
|
|
|
|
return (
|
|
|
- <PanelOptionSection title="Gauge">
|
|
|
+ <PanelOptionsGroup title="Gauge">
|
|
|
<div className="gf-form">
|
|
|
<Label width={8}>Min value</Label>
|
|
|
<input type="text" className="gf-form-input width-12" onChange={this.onMinValueChange} value={minValue} />
|
|
|
@@ -41,7 +41,7 @@ export default class GaugeOptionsEditor extends PureComponent<PanelOptionsProps<
|
|
|
checked={showThresholdMarkers}
|
|
|
onChange={this.onToggleThresholdMarkers}
|
|
|
/>
|
|
|
- </PanelOptionSection>
|
|
|
+ </PanelOptionsGroup>
|
|
|
);
|
|
|
}
|
|
|
}
|