React graph panel options component rename
This commit is contained in:
+1
-1
@@ -9,7 +9,7 @@ import { Switch } from 'app/core/components/Switch/Switch';
|
|||||||
import { PanelOptionsProps } from '@grafana/ui';
|
import { PanelOptionsProps } from '@grafana/ui';
|
||||||
import { Options } from './types';
|
import { Options } from './types';
|
||||||
|
|
||||||
export class GraphOptions extends PureComponent<PanelOptionsProps<Options>> {
|
export class GraphPanelOptions extends PureComponent<PanelOptionsProps<Options>> {
|
||||||
onToggleLines = () => {
|
onToggleLines = () => {
|
||||||
this.props.onChange({ ...this.props.options, showLines: !this.props.options.showLines });
|
this.props.onChange({ ...this.props.options, showLines: !this.props.options.showLines });
|
||||||
};
|
};
|
||||||
@@ -1,4 +1,4 @@
|
|||||||
import { GraphPanel } from './GraphPanel';
|
import { GraphPanel } from './GraphPanel';
|
||||||
import { GraphOptions } from './GraphOptions';
|
import { GraphPanelOptions } from './GraphPanelOptions';
|
||||||
|
|
||||||
export { GraphPanel as Panel, GraphOptions as PanelOptions };
|
export { GraphPanel as Panel, GraphPanelOptions as PanelOptions };
|
||||||
|
|||||||
Reference in New Issue
Block a user