feat: complete field documentation and TextArea examples
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
<script setup lang="ts">
|
||||
import {
|
||||
Description,
|
||||
Label,
|
||||
TextArea,
|
||||
TextField,
|
||||
} from "@heroui-vue/components";
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<TextField class="w-full max-w-64" name="message">
|
||||
<Label>消息</Label>
|
||||
<TextArea placeholder="在此输入你的消息…" :rows="4" />
|
||||
<Description>最多 500 个字符</Description>
|
||||
</TextField>
|
||||
</template>
|
||||
Reference in New Issue
Block a user