Important: This documentation is about an older version. It's relevant only to the release noted, many of the features and functions have been updated or replaced. Please view the current version.
SelectValueEditor class
Signature
export declare class SelectValueEditor<T> extends React.PureComponent<Props<T>, State<T>>
Import
import { SelectValueEditor } from '@grafana/ui';
Properties
Property | Modifiers | Type | Description |
---|---|---|---|
state | State<T> | ||
updateOptions | () => Promise<void> |
Methods
Method | Modifiers | Description |
---|---|---|
componentDidMount() | ||
componentDidUpdate(oldProps) | ||
render() |
state property
Signature
state: State<T>;
updateOptions property
Signature
updateOptions: () => Promise<void>;
componentDidMount method
Signature
componentDidMount(): void;
Returns:
void
componentDidUpdate method
Signature
componentDidUpdate(oldProps: Props<T>): void;
Parameters
Parameter | Type | Description |
---|---|---|
oldProps | Props<T> |
Returns:
void
render method
Signature
render(): JSX.Element;
Returns:
JSX.Element