feat: add InputGroup and verify shared field integration
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
<script setup lang="ts">
|
||||
import {
|
||||
InputGroup,
|
||||
InputGroupInput,
|
||||
InputGroupSuffix,
|
||||
Kbd,
|
||||
KbdAbbr,
|
||||
KbdContent,
|
||||
TextField,
|
||||
} from "@heroui-vue/components";
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<TextField aria-label="命令" class="w-full max-w-[280px]" name="command">
|
||||
<InputGroup>
|
||||
<InputGroupInput class="w-full max-w-[280px]" placeholder="命令" />
|
||||
<InputGroupSuffix class="pe-2">
|
||||
<Kbd>
|
||||
<KbdAbbr key-value="command" />
|
||||
<KbdContent>K</KbdContent>
|
||||
</Kbd>
|
||||
</InputGroupSuffix>
|
||||
</InputGroup>
|
||||
</TextField>
|
||||
</template>
|
||||
Reference in New Issue
Block a user