This commit is contained in:
Andras Bacsai
2022-10-26 09:27:43 +02:00
parent 111bd29cc8
commit 4bcd034b3d
9 changed files with 148 additions and 33 deletions

View File

@@ -5,4 +5,4 @@
const name: any = type && type[0].toUpperCase() + type.substring(1).toLowerCase();
</script>
<svelte:component this={Icons[name]} {isAbsolute} />
<svelte:component this={Icons[name.replace('.','').replaceAll(' ','')]} {isAbsolute} />