import React from "react"; import type { UseFormRegister, RegisterOptions, FieldError } from "react-hook-form"; export interface Props extends React.ComponentPropsWithoutRef<"input"> { label?: string; name: string; value?: string | number | readonly string[]; mode?: "primary" | "transparent" | "secondary" | "disabled"; register?: UseFormRegister; validations?: RegisterOptions; error?: FieldError; className?: string; }