diff --git a/public/app/features/dashboard/components/PanelEditor/AngularPanelPluginWarning.tsx b/public/app/features/dashboard/components/PanelEditor/AngularPanelPluginWarning.tsx new file mode 100644 index 00000000000..7351b628f19 --- /dev/null +++ b/public/app/features/dashboard/components/PanelEditor/AngularPanelPluginWarning.tsx @@ -0,0 +1,48 @@ +import { css } from '@emotion/css'; +import React from 'react'; + +import { GrafanaTheme2, PanelPlugin } from '@grafana/data'; +import { Alert, useStyles2 } from '@grafana/ui'; + +export interface Props { + plugin: PanelPlugin; +} + +export function AngularPanelPluginWarning({ plugin }: Props) { + const styles = useStyles2(getStyles); + + return ( +
The selected panel plugin is using deprecated plugin APIs.
+