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

    Interface ConversationListProps

    Props for the ConversationList component.

    interface ConversationListProps {
        activeSessionId: string | null;
        colors?: Partial<ConversationListColors>;
        compact?: boolean;
        labels?: Partial<ConversationListLabels>;
        maxHeight?: string | number;
        onCreate: () => void;
        onDelete: (sessionId: string) => void;
        onDuplicate?: (sessionId: string) => void;
        onExport?: (sessionId: string) => void;
        onRename: (sessionId: string, title: string) => void;
        onSelect: (sessionId: string) => void;
        sessions: ConversationSession[];
        styles?: Partial<ConversationListStyles>;
        sx?: SxProps<Theme>;
    }
    Index

    Properties

    activeSessionId: string | null

    ID of the currently active session

    colors?: Partial<ConversationListColors>

    Custom colors

    compact?: boolean

    Render as a compact dropdown instead of a full list

    labels?: Partial<ConversationListLabels>

    Custom labels for i18n

    maxHeight?: string | number

    Maximum height of the list

    onCreate: () => void

    Callback to create a new session

    onDelete: (sessionId: string) => void

    Callback to delete a session

    onDuplicate?: (sessionId: string) => void

    Callback to duplicate a session

    onExport?: (sessionId: string) => void

    Callback to export a session

    onRename: (sessionId: string, title: string) => void

    Callback to rename a session

    onSelect: (sessionId: string) => void

    Callback when a session is selected

    All conversation sessions

    styles?: Partial<ConversationListStyles>

    Custom styles

    sx?: SxProps<Theme>

    MUI sx prop