Add part for the icon
This commit is contained in:
parent
a548ed8591
commit
58885dea0d
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@tp/tp-popup",
|
||||
"version": "1.0.7",
|
||||
"version": "1.0.8",
|
||||
"description": "",
|
||||
"main": "tp-popup.js",
|
||||
"scripts": {
|
||||
|
@ -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>
|
||||
|
Loading…
x
Reference in New Issue
Block a user