mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
36 lines
993 B
Markdown
36 lines
993 B
Markdown
|
+++
|
||
|
# -----------------------------------------------------------------------
|
||
|
# Do not edit this file. It is automatically generated by API Documenter.
|
||
|
# -----------------------------------------------------------------------
|
||
|
title = "updateDatasourcePluginOption"
|
||
|
keywords = ["grafana","documentation","sdk","@grafana/data"]
|
||
|
type = "docs"
|
||
|
+++
|
||
|
|
||
|
## updateDatasourcePluginOption() function
|
||
|
|
||
|
### updateDatasourcePluginOption() function
|
||
|
|
||
|
<b>Signature</b>
|
||
|
|
||
|
```typescript
|
||
|
export declare function updateDatasourcePluginOption(props: DataSourcePluginOptionsEditorProps, key: keyof DataSourceSettings, val: any): void;
|
||
|
```
|
||
|
<b>Import</b>
|
||
|
|
||
|
```typescript
|
||
|
import { updateDatasourcePluginOption } from '@grafana/data';
|
||
|
```
|
||
|
<b>Parameters</b>
|
||
|
|
||
|
| Parameter | Type | Description |
|
||
|
| --- | --- | --- |
|
||
|
| props | <code>DataSourcePluginOptionsEditorProps</code> | |
|
||
|
| key | <code>keyof DataSourceSettings</code> | |
|
||
|
| val | <code>any</code> | |
|
||
|
|
||
|
<b>Returns:</b>
|
||
|
|
||
|
`void`
|
||
|
|