'use client'; import { clsx } from 'clsx'; import { TextareaHTMLAttributes } from 'react'; import { FormField, FormFieldControl, FormFieldDescription, FormFieldError, FormFieldItem, FormFieldLabel, } from '../form-field'; import { InputProps } from '../input'; import { TextareaInput } from './textarea-input'; import { textareaStyle } from './textarea.css'; export type TextareaProps = TextareaHTMLAttributes & Omit & { name: string; label: string; description?: string; hideLabel?: boolean; errors: string; hideErrorMessage?: boolean; }; export function Textarea({ className, description, disabled, label, name, hideLabel = false, errors, required, hideErrorMessage = false, size = 'md', variant = 'outlined', tone, ...rest }: TextareaProps) { return ( {label} {description} ); }