import { FieldPathByValue, FieldValues } from "react-hook-form"; import { FormField } from "../common/FormField.js"; import { CommonStringFieldProps } from "../common/types.js"; import { StyledTextArea, type StyledTextAreaProps, } from "../styled/StyledTextArea.js"; export function TextAreaFormField< TValues extends FieldValues, TName extends FieldPathByValue = FieldPathByValue< TValues, string >, >({ placeholder, rows, minRows, maxRows, ...fieldProps }: CommonStringFieldProps & Pick) { return ( {(inputProps) => ( )} ); }