@promotedai/react-introspection
Version:
Promoted Introspection integration for React web apps
16 lines (15 loc) • 570 B
TypeScript
import { Theme } from '@material-ui/core';
import { IntrospectionData } from './types';
import { IntrospectionIds } from './Popup';
export interface StatsPanelArgs {
introspectionIds: IntrospectionIds[];
introspectionData: IntrospectionData;
handleClose: () => any;
theme: Theme;
}
export interface StatsPanelRow {
label: string;
value?: any | ((data: IntrospectionData) => any);
tooltip?: string;
}
export declare const StatsPanel: ({ introspectionData, introspectionIds, handleClose, theme }: StatsPanelArgs) => JSX.Element;