import { forwardRef } from "react"; interface TextareaProps extends React.TextareaHTMLAttributes { label?: string; error?: string; wrapperClassName?: string; } export const Textarea = forwardRef(function Textarea( { label, error, wrapperClassName = "", className = "", id, ...rest }, ref ) { const taId = id ?? label?.toLowerCase().replace(/\s+/g, "-"); return (
{label && ( )}