import React from 'react'; import classNames from 'classnames'; import { PanelModel } from 'app/features/dashboard/panel_model'; import { DashboardModel } from 'app/features/dashboard/dashboard_model'; // import { store } from 'app/store/configureStore'; // import { updateLocation } from 'app/core/actions'; import { PanelHeaderMenu } from './PanelHeaderMenu'; // import appEvents from 'app/core/app_events'; interface PanelHeaderProps { panel: PanelModel; dashboard: DashboardModel; } export class PanelHeader extends React.Component { render() { const { dashboard } = this.props; const isFullscreen = false; const isLoading = false; const panelHeaderClass = classNames({ 'panel-header': true, 'grid-drag-handle': !isFullscreen }); return (
{isLoading && ( )}
{this.props.panel.title} 4m
); } }