mirror of
https://github.com/fmhy/edit.git
synced 2026-01-11 02:46:16 +00:00
hello world, again
This commit is contained in:
16
docs/.vitepress/theme/components/CardField.vue
Normal file
16
docs/.vitepress/theme/components/CardField.vue
Normal file
@@ -0,0 +1,16 @@
|
||||
<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>
|
||||
Reference in New Issue
Block a user