import { TextareaHTMLAttributes } from 'react'; import { IColorsProps, IEditorProps } from '../commonInterfaces'; import Label from './Label'; export interface TextAreaProps extends IEditorProps, IColorsProps, Omit, 'className' | 'title'> { dense?: boolean } function TextArea({ id, label, required, tooltip, dense, noBorder, noOutline, dimensions = 'w-full', colors = 'clr-input', rows = 4, ...props }: TextAreaProps) { const borderClass = noBorder ? '': 'border'; const outlineClass = noOutline ? '': 'clr-outline'; return (
{label &&