mirror of
https://github.com/grafana/grafana.git
synced 2025-07-30 21:22:44 +08:00
24 lines
748 B
Markdown
24 lines
748 B
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, key: keyof DataSourceSettings) => (event: React.SyntheticEvent<HTMLInputElement | HTMLSelectElement>) => void
|
|
```
|
|
<b>Import</b>
|
|
|
|
```typescript
|
|
import { onUpdateDatasourceOption } from '@grafana/data';
|
|
```
|