+++
# -----------------------------------------------------------------------
# Do not edit this file. It is automatically generated by API Documenter.
# -----------------------------------------------------------------------
title = "onUpdateDatasourceResetOption"
keywords = ["grafana","documentation","sdk","@grafana/data"]
type = "docs"
draft = true
+++

## onUpdateDatasourceResetOption variable

### onUpdateDatasourceResetOption variable

<b>Signature</b>

```typescript
onUpdateDatasourceResetOption: (props: DataSourcePluginOptionsEditorProps<import("../types").DataSourceJsonData, {}>, key: string) => (event: import("react").MouseEvent<HTMLButtonElement, MouseEvent>) => void
```
<b>Import</b>

```typescript
import { onUpdateDatasourceResetOption } from '@grafana/data';
```
