import cn from "@utils/classnames"; import { type ChangeEvent, forwardRef } from "react"; interface InputTextareaProps { label: string; placeholder?: string; error?: string; required?: boolean; className?: string; id?: string; rows?: number; value?: string; onChange?: (e: ChangeEvent) => void; hideLabel?: boolean; } const InputTextarea = forwardRef( ( { label, placeholder, error, required, className = "", id, rows = 4, hideLabel = false, ...props }, ref ) => { return (
{!hideLabel && ( )}