12 lines
335 B
Vue
12 lines
335 B
Vue
<script setup lang="ts">
|
|
import { Description, Input, Label, TextField } from "@heroui-vue/components";
|
|
</script>
|
|
|
|
<template>
|
|
<TextField class="w-full max-w-64" is-required name="fullName">
|
|
<Label>全名</Label>
|
|
<Input placeholder="John Doe" />
|
|
<Description>此字段为必填项</Description>
|
|
</TextField>
|
|
</template>
|