feat: complete field documentation and TextArea examples

This commit is contained in:
maoyingjie
2026-10-21 23:41:57 +08:00
parent 37e11e6330
commit 116056832c
40 changed files with 2071 additions and 15 deletions
@@ -0,0 +1,16 @@
<script setup lang="ts">
import { Input, Label, TextField } from "@heroui-vue/components";
</script>
<template>
<!-- 上游 render 自定义根节点;Vue 将 data-* 透传到 TextField 根,不支持替换元素类型。 -->
<TextField
class="w-full max-w-64"
data-custom="foo"
name="email"
type="email"
>
<Label>邮箱</Label>
<Input placeholder="输入你的邮箱" />
</TextField>
</template>