@conciergus/chat - v0.3.1
    Preparing search index...

    Interface EnhancedMessageListProps

    Enhanced message list props with comprehensive AI SDK 5 support

    interface EnhancedMessageListProps {
        messages: EnhancedUIMessage[];
        className?: string;
        messageComponent?: ComponentType<EnhancedMessageItemProps>;
        loadingComponent?: ReactNode;
        emptyComponent?: ReactNode;
        showMetadata?: boolean;
        showReasoningTraces?: boolean;
        showSources?: boolean;
        showCost?: boolean;
        showPerformance?: boolean;
        metadataRenderer?: ComponentType<MessageMetadataProps>;
        reasoningRenderer?: ComponentType<ReasoningTraceProps>;
        sourcesRenderer?: ComponentType<SourcesDisplayProps>;
        virtualizationComponent?: ComponentType<VirtualizationProps>;
        enableVirtualization?: boolean;
        estimatedItemHeight?: number;
        enableStreaming?: boolean;
        streamingIndicator?: ComponentType<StreamingIndicatorProps>;
        ariaLabel?: string;
        ariaDescription?: string;
        onMessageClick?: (message: EnhancedUIMessage) => void;
        onMessageSelect?: (messageIds: string[]) => void;
        onScroll?: (scrollTop: number, scrollHeight: number) => void;
        [key: string]: any;
    }

    Indexable

    • [key: string]: any

      Additional props

    Index

    Properties

    messages: EnhancedUIMessage[]

    Array of messages to display

    className?: string

    Additional CSS classes

    messageComponent?: ComponentType<EnhancedMessageItemProps>

    Custom message component

    loadingComponent?: ReactNode

    Loading component

    emptyComponent?: ReactNode

    Empty state component

    showMetadata?: boolean

    Show message metadata

    showReasoningTraces?: boolean

    Show reasoning traces

    showSources?: boolean

    Show source citations

    showCost?: boolean

    Show cost information

    showPerformance?: boolean

    Show performance metrics

    metadataRenderer?: ComponentType<MessageMetadataProps>

    Custom metadata renderer

    reasoningRenderer?: ComponentType<ReasoningTraceProps>

    Custom reasoning renderer

    sourcesRenderer?: ComponentType<SourcesDisplayProps>

    Custom sources renderer

    virtualizationComponent?: ComponentType<VirtualizationProps>

    Virtualization component for performance

    enableVirtualization?: boolean

    Enable virtualization

    estimatedItemHeight?: number

    Estimated item height for virtualization

    enableStreaming?: boolean

    Enable streaming support

    streamingIndicator?: ComponentType<StreamingIndicatorProps>

    Streaming indicator component

    ariaLabel?: string

    Accessibility label

    ariaDescription?: string

    Accessibility description

    onMessageClick?: (message: EnhancedUIMessage) => void

    Message click handler

    onMessageSelect?: (messageIds: string[]) => void

    Message selection handler

    onScroll?: (scrollTop: number, scrollHeight: number) => void

    Scroll event handler