View as Markdown

API reference: @salmonui/chat/conversation

ConversationHeadercomponent

import { ConversationHeader } from '@salmonui/chat/conversation';
function ConversationHeader({ title, icon, children, toolbarLabel, className, style }: ConversationHeaderProps): ReactNode;

Props: ConversationHeaderProps

ConversationHeader props (6)
NameSignatureDescription
titleoptionalreadonly title?: ReactNode;
iconoptionalreadonly icon?: ReactNode;
childrenoptionalreadonly children?: ReactNode;

Toolbar items (buttons); arrow keys move between them (APG Toolbar).

toolbarLabeloptionalreadonly toolbarLabel?: string;

Accessible name of the toolbar (default the title text).

classNameoptionalreadonly className?: string;
styleoptionalreadonly style?: CSSProperties;