@nospamproxy/core
    Preparing search index...

    Represents a dropdown item.

    interface DropdownItem<T = unknown> {
        id: T;
        t?: string;
        tooltip?: string;
        tOptions?: TOptions<StringMap>;
        value?: string;
    }

    Type Parameters

    • T = unknown
    Index

    Properties

    id: T

    The item id.

    t?: string

    The translation key for this item.

    If this is used, the value property can be omitted.

    tooltip?: string

    An optional tooltip that is displayed when this item is hovered.

    Note, that tooltips must be translated manually for now.

    tOptions?: TOptions<StringMap>

    Additional translation options to pass to i18next.

    value?: string

    The display value.

    When using translated values, prefer using the t property.