mirror of
https://github.com/grafana/grafana.git
synced 2025-09-21 20:03:28 +08:00

* added packages reference menu item. * removed the draft flag. * Updated docs by running script.
24 lines
1.0 KiB
Markdown
24 lines
1.0 KiB
Markdown
+++
|
|
# -----------------------------------------------------------------------
|
|
# Do not edit this file. It is automatically generated by API Documenter.
|
|
# -----------------------------------------------------------------------
|
|
title = "onUpdateDatasourceOption"
|
|
keywords = ["grafana","documentation","sdk","@grafana/data"]
|
|
type = "docs"
|
|
+++
|
|
|
|
## onUpdateDatasourceOption variable
|
|
|
|
### onUpdateDatasourceOption variable
|
|
|
|
<b>Signature</b>
|
|
|
|
```typescript
|
|
onUpdateDatasourceOption: (props: DataSourcePluginOptionsEditorProps<import("../types").DataSourceJsonData, {}>, key: "type" | "name" | "id" | "orgId" | "typeLogoUrl" | "access" | "url" | "password" | "user" | "database" | "basicAuth" | "basicAuthPassword" | "basicAuthUser" | "isDefault" | "jsonData" | "secureJsonData" | "secureJsonFields" | "readOnly" | "withCredentials" | "version") => (event: import("react").SyntheticEvent<HTMLInputElement | HTMLSelectElement, Event>) => void
|
|
```
|
|
<b>Import</b>
|
|
|
|
```typescript
|
|
import { onUpdateDatasourceOption } from '@grafana/data';
|
|
```
|