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

    Customizable text labels for the ChatPanel component.

    All text displayed in the ChatPanel can be customized through this interface. This enables full internationalization (i18n) support.

    import { defaultChatPanelLabels } from '@hiyve/react-collaboration';

    // Spanish labels
    const spanishLabels: Partial<ChatPanelLabels> = {
    title: 'Chat',
    placeholder: 'Escribe un mensaje...',
    emptyState: 'No hay mensajes aún',
    unknownSender: 'Desconocido',
    };

    <ChatPanel labels={spanishLabels} />
    interface ChatPanelLabels {
        emptyState: string;
        placeholder: string;
        title: string;
        unknownSender: string;
    }
    Index

    Properties

    emptyState: string

    Message shown when there are no messages

    placeholder: string

    Placeholder text for the message input field

    title: string

    Header title for the chat panel

    unknownSender: string

    Fallback name when sender name is not available