Files
heroui-vue/apps/docs/demos/input-group-with-loading-suffix.vue

21 lines
455 B
Vue

<script setup lang="ts">
import {
InputGroup,
InputGroupInput,
InputGroupSuffix,
Spinner,
TextField,
} from "@heroui-vue/components";
</script>
<template>
<TextField class="w-full max-w-[280px]" default-value="发送中…" name="status">
<InputGroup>
<InputGroupInput class="w-full max-w-[280px]" />
<InputGroupSuffix>
<Spinner class="size-4" />
</InputGroupSuffix>
</InputGroup>
</TextField>
</template>