import { useId, type TextareaHTMLAttributes } from 'react'
interface Props extends TextareaHTMLAttributes {
/** Optional label rendered above the textarea */
label?: string
}
export default function RetroTextarea({ label, className = '', ...rest }: Props) {
const id = useId()
return (
{label && (
)}
)
}