mirror of
https://github.com/ArthurDanjou/artsite.git
synced 2026-01-26 13:54:16 +01:00
Initial commit
This commit is contained in:
17
app/components/content/AIcon.vue
Normal file
17
app/components/content/AIcon.vue
Normal file
@@ -0,0 +1,17 @@
|
||||
<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">
|
||||
<slot />
|
||||
</span>
|
||||
</div>
|
||||
</template>
|
||||
Reference in New Issue
Block a user