mirror of
https://github.com/shoelace-style/webawesome.git
synced 2026-01-12 04:09:12 +00:00
fix auto width typing
This commit is contained in:
@@ -64,7 +64,7 @@ export default class WaIcon extends WebAwesomeElement {
|
||||
@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. */
|
||||
@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. */
|
||||
@property({ attribute: 'swap-opacity', type: Boolean, reflect: true }) swapOpacity = false;
|
||||
|
||||
Reference in New Issue
Block a user