API Reference@grafana/data › updateDatasourcePluginOption

updateDatasourcePluginOption() function

updateDatasourcePluginOption() function

Signature

export declare function updateDatasourcePluginOption(props: DataSourcePluginOptionsEditorProps, key: keyof DataSourceSettings, val: any): void;

Import

import { updateDatasourcePluginOption } from '@grafana/data';

Parameters

Parameter Type Description
props DataSourcePluginOptionsEditorProps
key keyof DataSourceSettings
val any

Returns:

void