this._handleItemClick(item)}
@keydown=${(e: KeyboardEvent) => this._handleItemKeyDown(e, item)}
@@ -74,9 +74,9 @@ export class UmbTooltipMenuElement extends LitElement {
return html`
this._handleItemClick(item)}
@keydown=${(e: KeyboardEvent) => this._handleItemKeyDown(e, item)}
- class="item ${this.icon ? 'icon' : 'label'}">
+ class="item ${this.iconOnly ? 'icon' : 'label'}">
${item.icon ? html`` : nothing}
- ${!this.icon ? html`${item.label}` : nothing}
+ ${!this.iconOnly ? html`${item.label}` : nothing}
`;
}