import React from 'react'; import { FieldValues, Path, RegisterOptions, UseFormReturn, } from 'react-hook-form'; import { cn } from '../../../helper/cn'; interface InputProps extends Omit, 'form'> { name: Path; form: UseFormReturn; formOptions?: RegisterOptions; label?: string; placeholder?: string; } export const Input = ({ name, label = name, placeholder = label, form, formOptions, className, ...inputProps }: InputProps) => { return ( ); };