import * as React from 'react'; import { UseFormRegisterReturn } from 'react-hook-form'; import { cn } from '@/utils/cn'; import { FieldWrapper, FieldWrapperPassThroughProps } from './field-wrapper'; export type TextareaProps = React.TextareaHTMLAttributes & FieldWrapperPassThroughProps & { className?: string; registration: Partial; }; const Textarea = React.forwardRef( ({ className, label, error, registration, ...props }, ref) => { return (