papi-dts
    Preparing search index...
    • Experimental

      Recursively resolves LocalizeKey labels in context menu items using localized strings.

      Used as a pair with collectContextMenuKeys: collect the keys, resolve them through useLocalizedStrings, then map the items through this. A label with no resolution is left as it is, so a missing string shows the key rather than nothing.

      Parameters

      • items: OverlayContextMenuItem[]

        Context menu items to resolve, submenus included

      • localizedStrings: LanguageStrings

        Resolved strings, keyed by LocalizeKey

      Returns OverlayContextMenuItem[]

      The items with their labels resolved This function is unstable and may change or disappear without notice