A2uiMessageSurfaces
Renders the surfaces one assistant message carries, from its A2UI envelope
source. It keeps one surfaces store for the message, reads each finished
line into it as the source grows, and renders every live surface with
A2uiSurface, in the order the surfaces went live. Edits made in a surface
stay in that store and survive later lines. While the message streams, the
last line is left until its newline arrives and content.skeleton stands in
until a surface is live; a finished message with no surface renders nothing.
A line that is not an A2UI envelope is skipped. A source that does not
extend what was already read, or another messageId, starts over and drops
the edits. onAction, onValidationError, functions, catalog and
className go to every surface.
import { A2uiMessageSurfaces } from '@threadplane/react/a2ui';Declaration · overload 1
export declare function A2uiMessageSurfaces(props: A2uiMessageSurfacesProps): import("react/jsx-runtime").JSX.Element;Parameters
props· requiredA2uiMessageSurfacesProps
Returns
import("react/jsx-runtime").JSX.Element