SelectValueEditor class

Signature

  1. export declare class SelectValueEditor<T> extends React.PureComponent<Props<T>, State<T>>

Import

  1. import { SelectValueEditor } from '@grafana/ui';

Properties

PropertyModifiersTypeDescription
stateState<T>
updateOptions() => Promise<void>

Methods

MethodModifiersDescription
componentDidMount()
componentDidUpdate(oldProps)
render()

state property

Signature

  1. state: State<T>;

updateOptions property

Signature

  1. updateOptions: () => Promise<void>;

componentDidMount method

Signature

  1. componentDidMount(): void;

Returns:

void

componentDidUpdate method

Signature

  1. componentDidUpdate(oldProps: Props<T>): void;

Parameters

ParameterTypeDescription
oldPropsProps<T>

Returns:

void

render method

Signature

  1. render(): JSX.Element;

Returns:

JSX.Element