@zendesk/retrace
Version:
define and capture Product Operation Traces along with computed metrics with an optional friendly React beacon API
13 lines (12 loc) • 661 B
TypeScript
import * as React from 'react';
import type { TraceManager } from './TraceManager';
import type { RelationSchemasBase } from './types';
export interface TraceManagerDebuggerProps<RelationSchemasT extends RelationSchemasBase<RelationSchemasT>> {
traceManager: TraceManager<RelationSchemasT>;
float?: boolean;
traceHistoryLimit?: number;
}
/**
* A component that visualizes the current state of the TraceManager and its Traces
*/
export default function TraceManagerDebugger<RelationSchemasT extends RelationSchemasBase<RelationSchemasT>>({ traceManager, float, traceHistoryLimit, }: TraceManagerDebuggerProps<RelationSchemasT>): React.JSX.Element;