feat: add Separator Kbd and Chip components
This commit is contained in:
@@ -0,0 +1,41 @@
|
||||
<script setup lang="ts">
|
||||
import { Kbd, KbdAbbr, KbdContent } from "@heroui-vue/components";
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<div class="space-y-3">
|
||||
<div class="rounded-lg bg-surface p-4">
|
||||
<h4 class="mb-2 text-sm font-semibold">快捷操作</h4>
|
||||
<ul class="space-y-2 text-sm">
|
||||
<li>
|
||||
• 打开搜索:
|
||||
<Kbd>
|
||||
<KbdAbbr key-value="command" />
|
||||
<KbdContent>K</KbdContent>
|
||||
</Kbd>
|
||||
</li>
|
||||
<li>
|
||||
• 切换侧边栏:
|
||||
<Kbd>
|
||||
<KbdAbbr key-value="command" />
|
||||
<KbdContent>B</KbdContent>
|
||||
</Kbd>
|
||||
</li>
|
||||
<li>
|
||||
• 新建文件:
|
||||
<Kbd>
|
||||
<KbdAbbr key-value="command" />
|
||||
<KbdContent>N</KbdContent>
|
||||
</Kbd>
|
||||
</li>
|
||||
<li>
|
||||
• 快速保存:
|
||||
<Kbd>
|
||||
<KbdAbbr key-value="command" />
|
||||
<KbdContent>S</KbdContent>
|
||||
</Kbd>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
Reference in New Issue
Block a user