Interface SearchAutocompleteOption<T>

Represents one item in a search autocomplete category options list.

See AutocompleteCategory.

interface SearchAutocompleteOption<T> {
    icon?: string;
    text: string;
    value: T;
}

Type Parameters

  • T

Implemented by

Properties

Properties

icon?: string

The Material design icon that should be displayed next to the option. No icon will be displayed if no icon is provided.

See [material website]https://material.io/resources/icons for supported icon list.

text: string

Text that is displayed to the user

value: T

Value of the option, that is used to generate the queries.