This is documentation for the next version of Grafana. For the latest stable release, go to the latest version.

API Reference@grafana/dataupdateDatasourcePluginJsonDataOption

updateDatasourcePluginJsonDataOption variable

updateDatasourcePluginJsonDataOption variable

Signature

updateDatasourcePluginJsonDataOption: <J, S, K extends keyof J>(props: DataSourcePluginOptionsEditorProps<J, S>, key: K, val: any) => void

Import

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