"use client" import * as React from "react" import { cn } from "@/lib/utils" export interface FormTextareaProps extends React.TextareaHTMLAttributes { label?: string error?: string helperText?: string } const FormTextarea = React.forwardRef( ({ className, label, error, helperText, id, ...props }, ref) => { const textareaId = id || `textarea-${Math.random().toString(36).substr(2, 9)}` return (
{label && ( )}