MenuItem.setIcon - Not working?

Hello,

Trying to change the icons on a MenuItem, but it doesn’t appear that MenuItem.setIcon is doing anything.

At first I thought it was the custom icons I was adding with addIcon, but I verified that they work elsewhere and that MenuItem.setIcon doesn’t change from the checkmark even on the included icons, unless I’m using it incorrectly:

this.markerIcons.forEach((marker: MarkerIcon) => {
        if (!marker[0] || !marker[1]) return;
        contextMenu.addItem(item => {
            item.setTitle(marker[0]);
            item.setIcon("search");
            item.setActive(true);
            item.onClick(() => this.createMarker(marker, evt.latlng));
        });
});