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