Use icons instead of Unicode characters #91

Merged
jakob.scheid merged 13 commits from feature/icons into main 2026-06-01 12:28:35 +02:00
Showing only changes of commit bf3786249b - Show all commits
+5 -1
View File
@@ -21,6 +21,10 @@ const props = defineProps({
name: { name: {
required: true, required: true,
type: String type: String
},
size: {
type: [Number, String],
default: 24
} }
}) })
@@ -33,5 +37,5 @@ const Icon = computed(() => icons[`/src/assets/icons/${props.name}.svg`])
</script> </script>
<template> <template>
<img :src="Icon" /> <img :src="Icon" :style="{ height: `${props.size}px`, width: `${props.size}px` }" />
</template> </template>