feat: add Separator Kbd and Chip components
This commit is contained in:
@@ -0,0 +1,42 @@
|
||||
<script setup lang="ts">
|
||||
import { Kbd, KbdAbbr, KbdContent } from "@heroui-vue/components";
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<div class="space-y-4">
|
||||
<p class="text-sm">
|
||||
按
|
||||
<Kbd>
|
||||
<KbdContent>Esc</KbdContent>
|
||||
</Kbd>
|
||||
关闭对话框。
|
||||
</p>
|
||||
<p class="text-sm">
|
||||
使用
|
||||
<Kbd>
|
||||
<KbdAbbr key-value="command" />
|
||||
<KbdContent>K</KbdContent>
|
||||
</Kbd>
|
||||
打开命令面板。
|
||||
</p>
|
||||
<p class="text-sm">
|
||||
使用
|
||||
<Kbd>
|
||||
<KbdAbbr key-value="up" />
|
||||
</Kbd>
|
||||
和
|
||||
<Kbd>
|
||||
<KbdAbbr key-value="down" />
|
||||
</Kbd>
|
||||
方向键进行导航。
|
||||
</p>
|
||||
<p class="text-sm">
|
||||
使用
|
||||
<Kbd>
|
||||
<KbdAbbr key-value="command" />
|
||||
<KbdContent>S</KbdContent>
|
||||
</Kbd>
|
||||
定期保存你的工作。
|
||||
</p>
|
||||
</div>
|
||||
</template>
|
||||
Reference in New Issue
Block a user