feat: complete field documentation and TextArea examples
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
<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>
|
||||
Reference in New Issue
Block a user