2023-10-31 20:40:38 +00:00
|
|
|
<script setup lang="ts">
|
|
|
|
defineProps<{
|
|
|
|
icon: string;
|
|
|
|
}>();
|
|
|
|
</script>
|
|
|
|
|
|
|
|
<template>
|
2023-11-03 08:55:15 +00:00
|
|
|
<div class="flex items-center mb-[8px] g-[12px]">
|
|
|
|
<span class="flex items-center">
|
|
|
|
<div class="text-2xl" :class="icon" />
|
2023-11-03 10:16:28 +00:00
|
|
|
<div class="ml-2 text-sm text-[var(--vp-c-text-2)]">
|
2023-11-03 08:55:15 +00:00
|
|
|
<slot />
|
|
|
|
</div>
|
|
|
|
</span>
|
2023-10-31 20:40:38 +00:00
|
|
|
</div>
|
|
|
|
</template>
|