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