mirror of
https://github.com/ArthurDanjou/artsite.git
synced 2026-02-03 21:31:43 +01:00
Rename AIcon to ProseIcon.vue
This commit is contained in:
21
app/components/content/ProseIcon.vue
Normal file
21
app/components/content/ProseIcon.vue
Normal 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>
|
||||
Reference in New Issue
Block a user