import { FunctionComponent } from 'react'; import { UseFormRegisterReturn } from 'react-hook-form'; interface FormTextAreaProps { placeholder?: string; formValidationSchema: UseFormRegisterReturn; error: boolean; id: string; rows: number; className?: string; } const FormTextArea: FunctionComponent = ({ placeholder = '', formValidationSchema, error, id, rows, className, }) => (