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

    Props for AgentResults component

    interface AgentResultsProps {
        colors?: Partial<AgentAssistantColors>;
        formState?: {
            status: string;
            submittedAt?: string;
            values?: Record<string, unknown>;
        };
        isNavigating?: boolean;
        labels?: Partial<AgentAssistantLabels>;
        onAction?: (
            action: Record<string, unknown>,
            data: Record<string, unknown>,
        ) => void;
        onError?: (error: Error) => void;
        onFormCancel?: () => void;
        onFormSubmit?: (params: Record<string, unknown>) => void;
        result: Record<string, unknown> | null;
        storedRooms?: StoredRoom[];
        sx?: SxProps<Theme>;
    }
    Index

    Properties

    colors?: Partial<AgentAssistantColors>

    Custom colors

    formState?: {
        status: string;
        submittedAt?: string;
        values?: Record<string, unknown>;
    }

    Current form state

    isNavigating?: boolean

    Whether navigation is in progress

    labels?: Partial<AgentAssistantLabels>

    Custom labels

    onAction?: (
        action: Record<string, unknown>,
        data: Record<string, unknown>,
    ) => void

    Callback for action button clicks

    onError?: (error: Error) => void

    Callback fired when an error occurs (e.g., clipboard copy failure)

    onFormCancel?: () => void

    Callback for form cancellation

    onFormSubmit?: (params: Record<string, unknown>) => void

    Callback for form submission

    result: Record<string, unknown> | null

    Structured result from MCP backend

    storedRooms?: StoredRoom[]

    Stored rooms for form autocomplete

    sx?: SxProps<Theme>

    MUI sx prop