diff --git a/iconify-icon/icon/src/component.ts b/iconify-icon/icon/src/component.ts index 8993759..54a906f 100644 --- a/iconify-icon/icon/src/component.ts +++ b/iconify-icon/icon/src/component.ts @@ -210,9 +210,9 @@ export function defineIconifyIcon( } set inline(value: boolean) { - if(value){ + if (value) { this.setAttribute('inline', 'true'); - }else{ + } else { this.removeAttribute('inline'); } }