Hiyve Components - v1.0.0
    Preparing search index...

    Props for the ChatMessageList component.

    interface ChatMessageListProps {
        colors?: Partial<ChatPanelColors>;
        labels?: Partial<ChatPanelLabels>;
        localUserId: string;
        messages: ChatMessage[];
        onError?: (error: Error) => void;
        renderProps?: ChatPanelRenderProps;
        showAvatars?: boolean;
        showTimestamps?: boolean;
        styles?: Partial<ChatPanelStyles>;
        sx?: SxProps<Theme>;
    }
    Index

    Properties

    colors?: Partial<ChatPanelColors>

    Custom colors

    labels?: Partial<ChatPanelLabels>

    Custom labels

    localUserId: string

    The local user's ID (for distinguishing own messages)

    messages: ChatMessage[]

    Array of messages to display

    onError?: (error: Error) => void

    Callback fired when an error occurs (e.g., timestamp formatting)

    renderProps?: ChatPanelRenderProps

    Render props for advanced customization

    showAvatars?: boolean

    Show avatars for messages (default: true)

    showTimestamps?: boolean

    Show timestamps on messages (default: true)

    styles?: Partial<ChatPanelStyles>

    Custom styles

    sx?: SxProps<Theme>

    MUI sx styling prop