import React from 'react'; import { Label } from './Label'; export interface TextAreaProps extends React.TextareaHTMLAttributes { label?: string; error?: string; helperText?: string; } export const TextArea: React.FC = ({ label, error, helperText, className = '', id, ...props }) => { const textareaId = id || `textarea-${Date.now()}`; return (
{label && ( )}