Interface SearchPropsBeta

Interface representing the properties for the Search component.

interface SearchProps {
    filters?: SearchFilter[];
    image?: WorkspaceItem<any>;
    q?: string;
    submitButtonLabel?: string;
}

Properties

filters?: SearchFilter[]

the filters to apply to the search.

image?: WorkspaceItem<any>

the default image to use for the search.

q?: string

the query string to search for.

submitButtonLabel?: string

the label for the submit button.