mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
React graph panel options component rename
This commit is contained in:
@@ -9,7 +9,7 @@ import { Switch } from 'app/core/components/Switch/Switch';
|
||||
import { PanelOptionsProps } from '@grafana/ui';
|
||||
import { Options } from './types';
|
||||
|
||||
export class GraphOptions extends PureComponent<PanelOptionsProps<Options>> {
|
||||
export class GraphPanelOptions extends PureComponent<PanelOptionsProps<Options>> {
|
||||
onToggleLines = () => {
|
||||
this.props.onChange({ ...this.props.options, showLines: !this.props.options.showLines });
|
||||
};
|
||||
@@ -1,4 +1,4 @@
|
||||
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