Trace

Unpublished development API. This package is under development and is not available as a published release.

A disclosure for one step of work. It is open while running or in error and otherwise follows defaultExpanded, until the reader toggles it; their choice then holds until the trace next enters running or error. It owns only that choice: no work, timers or subscriptions.

import { Trace } from '@threadplane/react/chat';

Declaration · overload 1

export declare function Trace(input: TraceProps): import("react/jsx-runtime").JSX.Element;

Parameters

{ label, state, icon, meta, defaultExpanded, className, children, } · required
input · required
TraceProps

Returns

import("react/jsx-runtime").JSX.Element