import { TextareaHTMLAttributes } from 'react'; import Label from './Label'; export interface TextAreaProps extends Omit, 'className' | 'title'> { label?: string tooltip?: string dimensions?: string dense?: boolean colorClass?: string } function TextArea({ id, label, required, tooltip, dense, dimensions = 'w-full', colorClass = 'clr-input', rows = 4, ...props }: TextAreaProps) { return (
{label &&