import * as React from 'react' ; export enum PlotType { CONFUSION_MATRIX = 'confusion_matrix' , MARKDOWN = 'markdown' , ROC = 'roc' , TABLE = 'table' , TENSORBOARD = 'tensorboard' , VISUALIZATION_CREATOR = 'visualization-creator' , WEB_APP = 'web-app' } export interface ViewerConfig { type : PlotType ; } abstract class Viewer < P , S > extends React . Component < P , S > { public isAggregatable ( ) { return false ; } public abstract getDisplayName ( ) ; } export default Viewer ;