Interface SearchPropsBeta

Interface representing the properties for the Search component.

interface SearchProps {
    disableAskAI?: boolean;
    disableSaveSearch?: boolean;
    filters?: SearchFilter[];
    image?: WorkspaceItem;
    q?: string;
    submitButtonLabel?: string;
}

Properties

disableAskAI?: boolean

disable ask AI

disableSaveSearch?: boolean

disable save search

filters?: SearchFilter[]

the filters to apply to the search.

the default image to use for the search.

q?: string

the query string to search for.

submitButtonLabel?: string

the label for the submit button.