feat: add Separator Kbd and Chip components
This commit is contained in:
@@ -0,0 +1,38 @@
|
||||
<script setup lang="ts">
|
||||
import { Kbd, KbdAbbr } from "@heroui-vue/components";
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<div class="space-y-3">
|
||||
<p class="text-sm">
|
||||
按
|
||||
<Kbd>
|
||||
<KbdAbbr key-value="enter" />
|
||||
</Kbd>
|
||||
确认,或按
|
||||
<Kbd>
|
||||
<KbdAbbr key-value="escape" />
|
||||
</Kbd>
|
||||
取消。
|
||||
</p>
|
||||
<p class="text-sm">
|
||||
使用
|
||||
<Kbd>
|
||||
<KbdAbbr key-value="tab" />
|
||||
</Kbd>
|
||||
在表单字段间切换,使用
|
||||
<Kbd>
|
||||
<KbdAbbr key-value="shift" />
|
||||
<KbdAbbr key-value="tab" />
|
||||
</Kbd>
|
||||
返回上一项。
|
||||
</p>
|
||||
<p class="text-sm">
|
||||
按住
|
||||
<Kbd>
|
||||
<KbdAbbr key-value="space" />
|
||||
</Kbd>
|
||||
可临时启用平移模式。
|
||||
</p>
|
||||
</div>
|
||||
</template>
|
||||
Reference in New Issue
Block a user