import { forwardRef, type TextareaHTMLAttributes } from 'react'
import { cn } from '@/lib/cn'
import { fieldControlClass, useFieldId } from './field'
interface TextAreaProps extends TextareaHTMLAttributes {
label: string
}
export const TextArea = forwardRef(function TextArea(
{ label, id, name, className, ...props },
ref,
) {
const fieldId = useFieldId(id, name)
return (
)
})