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

    Props for AgentSidebar component

    interface AgentSidebarProps {
        activeConversationId?: string | null;
        colors?: Partial<AgentAssistantColors>;
        conversations?: AgentConversation[];
        icons?: Partial<AgentAssistantIcons>;
        labels?: Partial<AgentAssistantLabels>;
        onClose: () => void;
        onDeleteConversation: (id: string) => void;
        onNewConversation: () => void;
        onRenameConversation: (id: string, title: string) => void;
        onSelectConversation: (id: string) => void;
        open: boolean;
        styles?: Partial<AgentAssistantStyles>;
        sx?: SxProps<Theme>;
    }
    Index

    Properties

    activeConversationId?: string | null

    Currently active conversation ID

    colors?: Partial<AgentAssistantColors>

    Custom colors

    conversations?: AgentConversation[]

    List of conversations

    icons?: Partial<AgentAssistantIcons>

    Custom icons

    labels?: Partial<AgentAssistantLabels>

    Custom labels

    onClose: () => void

    Callback to close the sidebar

    onDeleteConversation: (id: string) => void

    Callback when a conversation is deleted

    onNewConversation: () => void

    Callback when a new conversation is requested

    onRenameConversation: (id: string, title: string) => void

    Callback when a conversation is renamed

    onSelectConversation: (id: string) => void

    Callback when a conversation is selected

    open: boolean

    Whether the sidebar is open

    styles?: Partial<AgentAssistantStyles>

    Custom styles

    sx?: SxProps<Theme>

    MUI sx prop