diff --git a/gallery/src/demos/demo-ha-chip.ts b/gallery/src/demos/demo-ha-chip.ts index 750bf7fa99..e2b51c1226 100644 --- a/gallery/src/demos/demo-ha-chip.ts +++ b/gallery/src/demos/demo-ha-chip.ts @@ -63,7 +63,7 @@ export class DemoHaChip extends LitElement {
Simple: Demo chip @@ -72,7 +72,7 @@ export class DemoHaChip extends LitElement {
Label property: @@ -82,7 +82,7 @@ export class DemoHaChip extends LitElement { With leadingIcon: Demo chip @@ -92,7 +92,7 @@ export class DemoHaChip extends LitElement { With trailingIcon property: Demo chip @@ -101,7 +101,7 @@ export class DemoHaChip extends LitElement {
With trailingIcon slot: Demo chip diff --git a/src/components/ha-chip.ts b/src/components/ha-chip.ts index 6368c7f8ab..443a7afd41 100644 --- a/src/components/ha-chip.ts +++ b/src/components/ha-chip.ts @@ -12,7 +12,7 @@ import { customElement, property } from "lit/decorators"; @customElement("ha-chip") export class HaChip extends LitElement { - @property({ type: Boolean }) public outline = false; + @property({ type: Boolean }) public outlined = false; @property() public label?: string; @@ -22,7 +22,7 @@ export class HaChip extends LitElement { protected render(): TemplateResult { return html` -
+
${this.leadingIcon ? html`