Rename AIcon to ProseIcon.vue

This commit is contained in:
2024-06-21 12:12:10 +02:00
parent 6b229bde30
commit 4d0f483960
2 changed files with 8 additions and 7 deletions

View File

@@ -0,0 +1,21 @@
<script setup lang="ts">
defineProps({
icon: {
type: String,
required: true
}
})
</script>
<template>
<div class="inline">
<UIcon
class="mb-1 mr-1"
:name="icon"
:dynamic="true"
/>
<span class="sofia font-medium underline decoration-neutral-300 dark:decoration-neutral-700">
<slot />
</span>
</div>
</template>