+++
# -----------------------------------------------------------------------
# Do not edit this file. It is automatically generated by API Documenter.
# -----------------------------------------------------------------------
title = "onUpdateDatasourceResetOption"
keywords = ["grafana","documentation","sdk","@grafana/data"]
type = "docs"
+++
## onUpdateDatasourceResetOption variable
### onUpdateDatasourceResetOption variable
Signature
```typescript
onUpdateDatasourceResetOption: (props: DataSourcePluginOptionsEditorProps, key: string) => (event: import("react").MouseEvent) => void
```
Import
```typescript
import { onUpdateDatasourceResetOption } from '@grafana/data';
```