import { Controller, FieldValues } from "react-hook-form"; import { FormFieldBaseProps } from "./utility"; import { Input, TextArea } from "tamagui"; import { ComponentPropsWithoutRef } from "react"; import { ErrorMessage } from "./form"; type InputFieldProps = FormFieldBaseProps & ComponentPropsWithoutRef; export const InputField = ({ form, name, ...props }: InputFieldProps) => ( ( <> )} /> ); type TextAreaFieldProps = FormFieldBaseProps & ComponentPropsWithoutRef; export const TextAreaField = ({ form, name, ...props }: TextAreaFieldProps) => ( ( <>