// Libraries import _ from 'lodash'; import React, { PureComponent } from 'react'; // Components import { AlertBox } from 'app/core/components/AlertBox/AlertBox'; // Types import { AppNotificationSeverity } from 'app/types'; import { PanelProps, PanelPlugin, PluginType } from '@grafana/ui'; interface Props { pluginId: string; } class PanelPluginNotFound extends PureComponent { constructor(props: Props) { super(props); } render() { const style = { display: 'flex', alignItems: 'center', justifyContent: 'center', height: '100%', }; return (
); } } export function getPanelPluginNotFound(id: string): PanelPlugin { const NotFound = class NotFound extends PureComponent { render() { return ; } }; const plugin = new PanelPlugin(NotFound); plugin.meta = { id: id, name: id, sort: 100, type: PluginType.panel, module: '', baseUrl: '', dataFormats: [], info: { author: { name: '', }, description: '', links: [], logos: { large: '', small: '', }, screenshots: [], updated: '', version: '', }, }; return plugin; }