import * as React from "react"; import { cn } from "@/lib/utils"; import { FieldPath, FieldValues, UseFormReturn } from "react-hook-form"; import { FormControl } from "./form"; export interface InputProps extends React.InputHTMLAttributes {} const Input = React.forwardRef( ({ className, type, ...props }, ref) => { return ( ); } ); Input.displayName = "Input"; type InputFieldProps = Omit & { form: UseFormReturn; name: FieldPath; label?: string; }; const InputField = ({ form, name, label, className, ...props }: InputFieldProps) => ( } /> ); InputField.displayName = "InputField"; export { InputField }; export default Input;