FMHYedit/.vitepress/theme/components/CardField.vue
taskylizard c97a0abf92
🎉 New website!
2023-11-12 22:12:57 +05:30

17 lines
339 B
Vue

<script setup lang="ts">
defineProps<{
icon: string;
}>();
</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>