diff --git a/src/comp/cardicon.svelte b/src/comp/cardicon.svelte index 17caa72..363da17 100644 --- a/src/comp/cardicon.svelte +++ b/src/comp/cardicon.svelte @@ -17,6 +17,11 @@ */ export let iconName; + /** + * @type {string | undefined} + */ + export let iconSrc; + /** * @type {number} */ @@ -36,7 +41,12 @@
+ {#if iconSrc} + {iconName} + {:else} + {/if}
+