diff --git a/iconify-icon/icon/src/component.ts b/iconify-icon/icon/src/component.ts index 372eb48..8993759 100644 --- a/iconify-icon/icon/src/component.ts +++ b/iconify-icon/icon/src/component.ts @@ -210,7 +210,11 @@ export function defineIconifyIcon( } set inline(value: boolean) { - this.setAttribute('inline', value ? 'true' : null); + if(value){ + this.setAttribute('inline', 'true'); + }else{ + this.removeAttribute('inline'); + } } /**