Represents the properties for a search item.

interface ISearchItemProps<T extends IAnything = IAnything> {
    data: T;
    disabled: boolean;
    label: string;
    payload: any;
    value: string;
}

Type Parameters

Hierarchy

  • Omit<ISearchItem, keyof { data: never }>
    • ISearchItemProps

Properties

data: T
disabled: boolean
label: string
payload: any
value: string