export default function TextArea({ onChange, id, className, index=null, placeholder=null , ...props}) {
    return (
        <textarea key={index} {...props} onChange={onChange} id={id} maxLength={2047} placeholder={placeholder} className={`focus:border-indigo-500 focus:ring-indigo-500 w-full rounded-lg ` + className}></textarea>
    );
}