mirror of
https://github.com/storytold/storyteller-bevy.git
synced 2026-10-29 09:08:58 +00:00
Formatting
This commit is contained in:
@@ -37,14 +37,13 @@ export class ButtonElement extends LitElement {
|
|||||||
}
|
}
|
||||||
|
|
||||||
protected override render = () => html`
|
protected override render = () => html`
|
||||||
${this.icon
|
${this.icon ? html`
|
||||||
? html`
|
<sts-icon
|
||||||
<sts-icon
|
part="icon"
|
||||||
part="icon"
|
icon=${this.icon}
|
||||||
icon=${this.icon}
|
aria-hidden="true"
|
||||||
aria-hidden="true"
|
></sts-icon>
|
||||||
></sts-icon>`
|
` : nothing}
|
||||||
: nothing}
|
|
||||||
<slot></slot>
|
<slot></slot>
|
||||||
`
|
`
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user