This is documentation for the next version of Grafana. For the latest stable release, go to the latest version.

API Reference@grafana/dataonUpdateDatasourceResetOption

onUpdateDatasourceResetOption variable

onUpdateDatasourceResetOption variable

Signature

onUpdateDatasourceResetOption: (props: DataSourcePluginOptionsEditorProps, key: string) => (event: React.MouseEvent<HTMLButtonElement, MouseEvent>) => void

Import

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