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

17 lines
337 B
Vue
Raw Permalink Normal View History

2023-11-12 16:42:57 +00:00
<script setup lang="ts">
defineProps<{
2024-01-25 16:32:45 +00:00
icon: string
}>()
2023-11-12 16:42:57 +00:00
</script>
<template>
<div class="flex items-center mb-[8px] g-[12px]">
<span class="flex items-center">
<div class="text-2xl" :class="icon" />
<div class="ml-2 text-sm text-[var(--vp-c-text-2)]">
<slot />
</div>
</span>
</div>
</template>