Trevixal API
    Preparing search index...

    Interface SuggestionListState<T>

    Popup state handed to SuggestionListOptions.onState.

    interface SuggestionListState<T> {
        items: readonly T[];
        match: TriggerMatch;
        selectedIndex: number;
    }

    Type Parameters

    • T
    Index
    items: readonly T[]
    selectedIndex: number