Menu

Important: This documentation is about an older version. It's relevant only to the release noted, many of the features and functions have been updated or replaced. Please view the current version.

Enterprise Open source

onUpdateDatasourceResetOption variable

onUpdateDatasourceResetOption variable

Signature

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

Import

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