FMHYedit/.vitepress/theme/components/CardField.vue

17 lines
339 B
Vue
Raw Normal View History

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>