Add part for the icon
This commit is contained in:
@ -40,7 +40,7 @@ class TpPopupMenuItem extends LitElement {
|
||||
return html`
|
||||
<div class="wrap" ?noicon=${!icon}>
|
||||
${icon ? html`
|
||||
<tp-icon .icon=${icon}></tp-icon>
|
||||
<tp-icon part="icon" .icon=${icon}></tp-icon>
|
||||
` : null}
|
||||
<div class="label">
|
||||
<slot></slot>
|
||||
|
Reference in New Issue
Block a user