fix auto width typing

This commit is contained in:
konnorrogers
2025-09-22 12:18:28 -04:00
parent 0beceff73f
commit 8f62a7cc2f

View File

@@ -64,7 +64,7 @@ export default class WaIcon extends WebAwesomeElement {
@property({ reflect: true }) variant: string; @property({ reflect: true }) variant: string;
/** Sets the width of the icon to match the cropped SVG viewBox. This operates like the Font `fa-width-auto` class. */ /** Sets the width of the icon to match the cropped SVG viewBox. This operates like the Font `fa-width-auto` class. */
@property({ attribute: 'auto-width', type: Boolean, reflect: true }) autoWidth: false; @property({ attribute: 'auto-width', type: Boolean, reflect: true }) autoWidth = false;
/** Swaps the opacity of duotone icons. */ /** Swaps the opacity of duotone icons. */
@property({ attribute: 'swap-opacity', type: Boolean, reflect: true }) swapOpacity = false; @property({ attribute: 'swap-opacity', type: Boolean, reflect: true }) swapOpacity = false;