Hiyve Components - v1.0.0
    Preparing search index...
    interface ChatPanelProps {
        colors?: Partial<ChatPanelColors>;
        disabled?: boolean;
        icons?: Partial<ChatPanelIcons>;
        labels?: Partial<ChatPanelLabels>;
        maxHeight?: string | number;
        onFocus?: () => void;
        onNewMessage?: (message: ChatMessage) => void;
        placeholder?: string;
        renderProps?: ChatPanelRenderProps;
        showAvatars?: boolean;
        showHeader?: boolean;
        showTimestamps?: boolean;
        styles?: Partial<ChatPanelStyles>;
        sx?: SxProps<Theme>;
        title?: string;
    }
    Index

    Properties

    colors?: Partial<ChatPanelColors>

    Custom colors

    disabled?: boolean

    Whether the input is disabled

    icons?: Partial<ChatPanelIcons>

    Custom icons

    labels?: Partial<ChatPanelLabels>

    Custom labels for i18n support

    maxHeight?: string | number

    Maximum height before scrolling (default: none)

    onFocus?: () => void

    Callback when chat panel gains focus (useful for clearing unread indicators)

    onNewMessage?: (message: ChatMessage) => void

    Callback when new remote message arrives (for notifications/badges)

    placeholder?: string

    Placeholder text for input (default: 'Type a message...')

    renderProps?: ChatPanelRenderProps

    Render props for advanced customization

    showAvatars?: boolean

    Show avatars for messages (default: true)

    showHeader?: boolean

    Show the header (default: true)

    showTimestamps?: boolean

    Show timestamps on messages (default: true)

    styles?: Partial<ChatPanelStyles>

    Custom styles

    sx?: SxProps<Theme>

    MUI sx styling prop

    title?: string

    Title for the chat header (default: 'Chat')