Interface ISearchItem<T>

Represents a search item.

interface ISearchItem<T> {
    data?: T;
    label: string;
    value: string;
}

Type Parameters

  • T extends IAnything = IAnything

    The type of additional data associated with the search item.

Properties

Properties

data?: T
label: string
value: string