Package:
@hexos/react-uiProps for the ChatWindow component.
interface ChatWindowProps {
config?: AgentConfig;
className?: string;
header?: React.ReactNode;
emptyState?: React.ReactNode;
renderMessage?: (message: AgentMessage, index: number, isStreaming: boolean) => React.ReactNode;
showReasoning?: boolean;
renderInput?: (props: {
onSubmit: (content: string) => void;
disabled: boolean;
}) => React.ReactNode;
showAgentBadges?: boolean;
enableMessageActions?: boolean;
variant?: 'default' | 'floating' | 'fullscreen' | 'sidebar';
placeholder?: string;
showHandoffs?: boolean;
handoffVariant?: 'inline' | 'card';
showAgentStatus?: boolean;
agents?: AgentInfo[];
suggestions?: string[];
suggestionsTitle?: string;
}config
className
stringheader
React.ReactNodeemptyState
React.ReactNoderenderMessage
(message: AgentMessage, index: number, isStreaming: boolean) => React.ReactNodeshowReasoning
booleanrenderInput
(props: { onSubmit: (content: string) => void; disabled: boolean; }) => React.ReactNodeshowAgentBadges
booleanenableMessageActions
booleanvariant
'default' | 'floating' | 'fullscreen' | 'sidebar'placeholder
stringshowHandoffs
booleanhandoffVariant
'inline' | 'card'showAgentStatus
booleanagents
suggestions
string[]suggestionsTitle
string