Interface SearchXperienceModalPropsBeta

Interface representing the properties for the SearchXperienceModal component, extending SearchXperienceProps.

interface SearchXperienceModalProps {
    defaultConcept?: string[];
    defaultSearchFields?: {
        entity_label?: string;
        os_textsearchfield?: string;
    };
    disableConceptSelector?: boolean;
    onClose: ((entities: Entity[]) => undefined | void);
    open?: boolean;
    taskID?: string;
    title?: string;
}

Hierarchy (view full)

Properties

defaultConcept?: string[]

The default concepts for the search experience.

defaultSearchFields?: {
    entity_label?: string;
    os_textsearchfield?: string;
}

The default search fields for the search experience.

disableConceptSelector?: boolean

Whether to disable the concept selector.

onClose: ((entities: Entity[]) => undefined | void)

Callback function to be called when the modal is closed.

Type declaration

    • (entities): undefined | void
    • Parameters

      • entities: Entity[]

        The entities selected in the search experience.

      Returns undefined | void

      A void or undefined.

open?: boolean

Whether the modal is open.

taskID?: string

The task ID associated with the search experience.

title?: string

The title of the search experience.