ChatMessage
Unpublished development API. This package is under development and is not available as a published release.
A named message article with an independently directed body and explicit controls slot.
import { ChatMessage } from '@threadplane/react/chat';Declaration · overload 1
export declare function ChatMessage(input: ChatMessageProps): import("react/jsx-runtime").JSX.Element;Parameters
{ role, prevRole, current, streaming, speaker, label, children, beforeContent, afterContent, controls, className, }· requiredinput· requiredChatMessageProps
Returns
import("react/jsx-runtime").JSX.Element