aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/Icon.svelte
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/Icon.svelte')
-rw-r--r--src/components/Icon.svelte6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/components/Icon.svelte b/src/components/Icon.svelte
new file mode 100644
index 00000000..58a61033
--- /dev/null
+++ b/src/components/Icon.svelte
@@ -0,0 +1,6 @@
+<script>
+ export let icon;
+ export let style;
+</script>
+
+<img src="/icons/{icon}.svg" alt={icon} class={style} />