"use client" import * as React from "react" import { cn } from "../../utils/cn" import { FieldWrapper } from "./field-wrapper" export interface TextareaProps extends React.TextareaHTMLAttributes { /** When true, renders red error border & ring */ invalid?: boolean; /** Label text displayed above the textarea */ label?: string; /** Error message displayed below the textarea */ error?: string; /** Element rendered at the right edge of the field (e.g. send icon). */ endIcon?: React.ReactNode; /** * When true, `endIcon` is wrapped in a real `