docs/.vitepress/theme/components/CardField.vue

989f3728358ada3d362927a51f0689c42af05bb9
wotaku/docs/.vitepress/theme/components/CardField.vue
taskylizard chore: update license0dddca8d19 1 year ago

24 lines · 643 bytes

 1<!--
 2  All Rights Reserved
 3
 4  Copyright (c) 2025 taskylizard
 5
 6  All rights reserved. This code and its associated files may not be copied, modified, distributed, sublicensed, or used in any form, in whole or in part, without prior written permission from the copyright holder.
 7-->
 8<script setup lang="ts">
 9defineProps<{
10  icon: string
11  iconClass?: string
12}>()
13</script>
14
15<template>
16  <div class="g-[12px] mb-[8px] flex items-center">
17    <span class="flex items-center">
18      <span class="size-6" :class="[icon, iconClass]" />
19      <div class="ml-2 text-sm text-$vp-c-text-2">
20        <slot />
21      </div>
22    </span>
23  </div>
24</template>
Keyboard shortcuts

Global

⌘K
Command palette & jump
/
Focus search
?
Show this help
g d
Dashboard
g e
Explore repositories
g n
Notifications

Repository & editor

t
Find file in repository
y
Copy immutable SHA permalink
g c
Code tab
g i
Issues tab
g m
Merge requests tab
g b
Builds tab
⌘↵
Submit active form